Partager via


SPMobileBaseFieldControl.ReadOnly Property

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

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

Syntax

Public Overridable ReadOnly Property ReadOnly As Boolean
    Get

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.

Remarks

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

Reference

SPMobileBaseFieldControl Class

SPMobileBaseFieldControl Members

Microsoft.SharePoint.MobileControls Namespace