SPMobileBaseFieldControl.ReadOnly Property

Gets a value indicating whether the field is read-only.

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


Public Overridable ReadOnly Property ReadOnly As Boolean

Dim instance As SPMobileBaseFieldControl
Dim value As Boolean

value = instance.ReadOnly
public virtual bool ReadOnly { get; }

Property Value

Type: System.Boolean
true if the field is read-only; otherwise, false.


The default implementation returns the same value as NeedEllipsisRendering. You cannot write to a field if its current value exceeds the mobile rendering limit.

See Also


SPMobileBaseFieldControl Class

SPMobileBaseFieldControl Members

Microsoft.SharePoint.MobileControls Namespace