BladeItem Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Blade is used as a child in the BladeView
[Windows.UI.Xaml.TemplatePart(Name="CloseButton", Type=typeof(Windows.UI.Xaml.Controls.Button))]
[Windows.UI.Xaml.TemplatePart(Name="EnlargeButton", Type=typeof(Windows.UI.Xaml.Controls.Button))]
public class BladeItem : Microsoft.Toolkit.Uwp.UI.Controls.Expander
[<Windows.UI.Xaml.TemplatePart(Name="CloseButton", Type=typeof(Windows.UI.Xaml.Controls.Button))>]
[<Windows.UI.Xaml.TemplatePart(Name="EnlargeButton", Type=typeof(Windows.UI.Xaml.Controls.Button))>]
type BladeItem = class
inherit Expander
Public Class BladeItem
Inherits Expander
- Inheritance
- Attributes
-
Windows.UI.Xaml.TemplatePartAttribute
Constructors
BladeItem() |
Initializes a new instance of the BladeItem class. |
Fields
CloseButtonBackgroundProperty |
Identifies the CloseButtonBackground dependency property. |
CloseButtonForegroundProperty |
Identifies the CloseButtonForeground dependency property |
IsOpenProperty |
Identifies the IsOpen dependency property. |
TitleBarBackgroundProperty |
Identifies the TitleBarBackground dependency property. |
TitleBarVisibilityProperty |
Identifies the TitleBarVisibility dependency property. |
Properties
CloseButtonBackground |
Gets or sets the background color of the default close button in the title bar |
CloseButtonForeground |
Gets or sets the foreground color of the close button |
ContentOverlay |
Gets or sets a value indicating whether the ContentOverlay of the control. (Inherited from Expander) |
ExpandDirection |
Gets or sets a value indicating whether the Expand Direction of the control. (Inherited from Expander) |
Header |
Gets or sets the data used for the header of each control. (Inherited from HeaderedContentControl) |
HeaderStyle |
Gets or sets a value for the style to use for the Header of the Expander. (Inherited from Expander) |
HeaderTemplate |
Gets or sets the template used to display the content of the control's header. (Inherited from HeaderedContentControl) |
IsExpanded |
Gets or sets a value indicating whether the content of the control is opened/visible or closed/hidden. (Inherited from Expander) |
IsOpen |
Gets or sets a value indicating whether this blade is opened |
Orientation |
Gets or sets the Orientation used for the header. (Inherited from HeaderedContentControl) |
TitleBarBackground |
Gets or sets the background color of the title bar |
TitleBarVisibility |
Gets or sets the visibility of the title bar for this blade |
Methods
OnApplyTemplate() |
Override default OnApplyTemplate to capture child controls |
OnCollapsed(EventArgs) |
Called when control is collapsed |
OnCreateAutomationPeer() |
Creates AutomationPeer (Windows.UI.Xaml.UIElement.OnCreateAutomationPeer) |
OnCreateAutomationPeer() |
Creates AutomationPeer (Windows.UI.Xaml.UIElement.OnCreateAutomationPeer) (Inherited from Expander) |
OnExpanded(EventArgs) |
Called when control is expanded |
OnHeaderChanged(Object, Object) |
Called when the Header property changes. (Inherited from HeaderedContentControl) |
Events
Collapsed |
Fires when the expander is closed (Inherited from Expander) |
Expanded |
Fires when the expander is opened (Inherited from Expander) |
VisibilityChanged |
Fires when the blade is opened or closed |