SPMobileComponent.NeedEllipsisRendering Property

Gets a value indicating whether the rendering of the component is truncated when the size of the component's text or child components or controls exceeds the rendering limit of the mobile site.

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Overridable ReadOnly Property NeedEllipsisRendering As Boolean
    Get
'Usage
Dim value As Boolean

value = Me.NeedEllipsisRendering
protected virtual bool NeedEllipsisRendering { get; }

Property Value

Type: System.Boolean
true if truncation occurs; otherwise, false.

Remarks

Unless IsEllipsisRenderingText is overridden in a derived class, NeedEllipsisRendering always returns false.

In the derived classes that ship with SharePoint Foundation, if IsEllipsisRenderingText and IsEllipsisRenderingPageType and EllipsisEnabled are all true, NeedEllipsisRendering is true.

The truncation does not always literally add an ellipsis. For example, if SPMobileItemFieldIterator.NeedEllipsisRendering is true, the first n child components or controls are rendered, where n is the rendering limit; that is, the value of [P.Microsoft.SharePoint.MobileControls.SPMobileComponent.SubControlNumberLimit]. But no ellipsis is added at the end. "Ellipsis rendering" should be taken to mean "truncated rendering."

See Also

Reference

SPMobileComponent Class

SPMobileComponent Members

Microsoft.SharePoint.MobileControls Namespace

Other Resources

Ellipses and Rendering Limits