SPMobileComponent.TextLengthLimitKey Property

Specifies the constant defined in the mobile web.config file that is assigned the default rendering limit (the maximum number of characters that can be rendered) for the mobile component.

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


Protected Overridable ReadOnly Property TextLengthLimitKey As String
Dim value As String

value = Me.TextLengthLimitKey
protected virtual string TextLengthLimitKey { get; }

Property Value

Type: System.String
An String representing the lookup key for the maximum rendering length of text on the mobile site.


The default implementation sets TextLengthLimitKey to "mobile_basetextlengthlimit". You can see the numeric value assigned to this key in the mobile web.config file.

Particular types of text controls, such as titles, may have more restrictive limits.

See Also


SPMobileComponent Class

SPMobileComponent Members

Microsoft.SharePoint.MobileControls Namespace

Other Resources

Ellipses and Rendering Limits