Skip to main content

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.v24.1.dll

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

Declaration

[Browsable(false)]
[DefaultValue(false)]
public bool SupportDefaultPropertyAttribute { get; set; }

Property Value

Type Default Description
Boolean false

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