Back to Devexpress

PropertyGridControl.SupportDefaultPropertyAttribute Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-propertygridcontrol-2de618f4.md

latest2.1 KB
Original Source

PropertyGridControl.SupportDefaultPropertyAttribute Property

Gets or sets whether to automatically focus the default property on loading the control and selecting a new tab.

Namespace : DevExpress.XtraVerticalGrid

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

csharp
[Browsable(false)]
[DefaultValue(false)]
public bool SupportDefaultPropertyAttribute { get; set; }
vb
<Browsable(False)>
<DefaultValue(False)>
Public Property SupportDefaultPropertyAttribute As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true , to automatically focus the default property on selecting a new tab; otherwise, false.

|

Remarks

If the SupportDefaultPropertyAttribute option is enabled, the property specified using the selected object’s DefaultPropertyAttribute is automatically focused (see VGridControlBase.FocusedRow) on loading the control and selecting the tab containing that property.

See Also

FocusedRow

Office View

PropertyGridControl Class

PropertyGridControl Members

DevExpress.XtraVerticalGrid Namespace