Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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)
[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>.

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.