Cette documentation est archivée et n’est pas conservée.

SPMobileComponent.NeedEllipsisRendering, propriété (Microsoft.SharePoint.MobileControls)

Windows SharePoint Services 3
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.

Espace de noms : Microsoft.SharePoint.MobileControls
Assembly : Microsoft.SharePoint (dans microsoft.sharepoint.dll)

protected virtual bool NeedEllipsisRendering { get; }

Valeur de la propriété

true if truncation occurs; otherwise, false.

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

In the derived classes that ship with Windows SharePoint Services 3.0, 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."