SPFieldChoice.EditFormat Property

Determines whether to display the choice field as radio buttons or as a drop-down list.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public Property EditFormat As SPChoiceFormatType
    Get
    Set
'Usage
Dim instance As SPFieldChoice
Dim value As SPChoiceFormatType

value = instance.EditFormat

instance.EditFormat = value
[ClientCallableAttribute]
public SPChoiceFormatType EditFormat { get; set; }

Property Value

Type: Microsoft.SharePoint.SPChoiceFormatType
An SPChoiceFormatType value that specifies the type of format.

Remarks

If you set the EditFormat property, you must call the Update method for changes to take effect in the database.

See Also

Reference

SPFieldChoice Class

SPFieldChoice Members

Microsoft.SharePoint Namespace