BackstageViewControl.CloseButtonVisibility Property

Gets or sets whether the button that closes the control is visible.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v20.1.dll

Declaration

public Visibility CloseButtonVisibility { get; set; }
Public Property CloseButtonVisibility As Visibility

Property Value

Type Description
Visibility

A Visibility enumeration value, such as Visible, Hidden or Collapsed, that specifies whether the button that closes the control is visible. The default is Visible.

Remarks

The CloseButtonVisibility property specifies the visibility of the button that closes the BackstageViewControl. This property can be set to the following values:

  • Visible—Display the button.

    BackstageViewControl_CloseButtonVisibility_Visible

  • Hidden—Do not display the button, but reserve space for the button in the layout.

    BackstageViewControl_CloseButtonVisibility_Hidden

  • Collapsed—Do not display the button, and do not reserve space for it in the layout.

    BackstageViewControl_CloseButtonVisibility_Collapsed

See Also