共用方式為


SPMobileComponent.IsEllipsisRenderingText Property

Gets a value that specifies whether the text has exceeded the rendering limits for the mobile site.

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

Syntax

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

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

Property Value

Type: System.Boolean
true if the limit has been exceeded; otherwise, false.

Remarks

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

In derived classes that ship with SharePoint Foundation the value of IsEllipsisRenderingText 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. Typically, 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