Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 682 Bytes

infobar_isclosable.md

File metadata and controls

31 lines (17 loc) · 682 Bytes
-api-id -api-type
P:Microsoft.UI.Xaml.Controls.InfoBar.IsClosable
winrt property

Microsoft.UI.Xaml.Controls.InfoBar.IsClosable

-description

Gets or sets a value that indicates whether the user can close the InfoBar.

-property-value

true if the user can close the InfoBar; otherwise, false. The default is true.

-remarks

By default, the user can close the InfoBar with the close button. You can set this property to false to remove the close button from the InfoBar.

You can still close the InfoBar programatically when this property is false.

-see-also

-examples