CloseButton
This property returns and sets a value that determines whether a CloseButton appears on the CommandBar.
Syntax
object.CloseButton [= Boolean]
Parameters
- object
- Object expression that evaluates to a CommandBar control.
- Boolean
- Boolean expression that specifies whether the object can respond to user-generated events.
- True (default)
- A Close button appears on CommandBar.
- False
- A Close button does not appear on CommandBar.
Remarks
A Close button always appears if an OKButton or Help button is displayed.