RichHtmlField.HasInitialFocus property

Gets or sets whether this rich text field should have the initial focus.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<BrowsableAttribute(True)> _
Public Property HasInitialFocus As Nullable(Of Boolean)
    Get
    Set
'Usage
Dim instance As RichHtmlField
Dim value As Nullable(Of Boolean)

value = instance.HasInitialFocus

instance.HasInitialFocus = value
[BrowsableAttribute(true)]
public Nullable<bool> HasInitialFocus { get; set; }

Property value

Type: System.Nullable<Boolean>
Specifies that this rich text field should have the initial focus.
Returns Nullable<T>.

Remarks

When editing a page, the initial focus should be placed on this HTML editor. The first rich text field that is found in the order specified in the page layout that has this value set to true will get the initial focus when placing the page in edit mode. If no Rich Text field has this value set to true, then the first rich text field on the page will have the focus.

See also

Reference

RichHtmlField class

RichHtmlField members

Microsoft.SharePoint.Publishing.WebControls namespace