Condividi tramite


SPMobileComponent.EllipsisEnabled Property

Gets or sets a value indicating whether the control is capable of adding an ellipsis at the end of its rendered data when the data exceeds the mobile rendering limit.

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

Syntax

'Declaration
Public Overridable Property EllipsisEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPMobileComponent
Dim value As Boolean

value = instance.EllipsisEnabled

instance.EllipsisEnabled = value
public virtual bool EllipsisEnabled { get; set; }

Property Value

Type: System.Boolean
true if the control is capable of adding an ellipsis; otherwise, false. The default is true.

Remarks

This value is used by NeedEllipsisRendering to help determine whether an ellipsis should be added to the end of the control's rendered text to indicate that the text has been truncated. Unless overridden in a derived class, if IsEllipsisRenderingText and IsEllipsisRenderingPageType and EllipsisEnabled are all true, NeedEllipsisRendering is true and the ellipsis is added.

See Also

Reference

SPMobileComponent Class

SPMobileComponent Members

Microsoft.SharePoint.MobileControls Namespace

Other Resources

Ellipses and Rendering Limits