SPMobileBaseFieldControl.TextLengthLimitKeyForView Property

Gets a string that can be used to look up (in the mobile web.config file) the mobile rendering limit of the field when it appears on list view pages.

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

Syntax

'Declaration
Protected Overridable ReadOnly Property TextLengthLimitKeyForView As String
    Get
'Usage
Dim value As String

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

Property Value

Type: System.String
A String that represents the lookup key that is used to look up the rendering limit, for list view pages, of the field.

Remarks

For list view pages, the default implementation returns "mobile_fieldtextlimitforview" which, in the mobile web.config file included with SharePoint Foundation, is set to a numeric value.

For all other pages, the default implementation returns the value of the grandparent TextLengthLimitKey property, which is "mobile_basetextlengthlimit". That key is set to a numeric value in the mobile web.config file included with SharePoint Foundation.

See Also

Reference

SPMobileBaseFieldControl Class

SPMobileBaseFieldControl Members

Microsoft.SharePoint.MobileControls Namespace