Show / Hide Table of Contents

Class TitleBar

TitleBar control.

Inheritance
System.Object
TitleBar
Namespace: WinUIEx
Assembly: WinUIEx.dll
Syntax
[Obsolete("Use Windows App SDK's TitleBar control instead.")]
public class TitleBar : Control

Constructors

| Improve this Doc View Source

TitleBar()

Initializes a new instance of the TitleBar class.

Declaration
public TitleBar()

Fields

| Improve this Doc View Source

ContentProperty

Identifies the Content dependency property.

Declaration
public static readonly DependencyProperty ContentProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

FooterProperty

Identifies the Footer dependency property.

Declaration
public static readonly DependencyProperty FooterProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

HeaderProperty

Identifies the Header dependency property.

Declaration
public static readonly DependencyProperty HeaderProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

IconSourceProperty

Identifies the IconSource dependency property.

Declaration
public static readonly DependencyProperty IconSourceProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

IsBackButtonVisibleProperty

Identifies the IsBackButtonVisible dependency property.

Declaration
public static readonly DependencyProperty IsBackButtonVisibleProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

IsBackEnabledProperty

Identifies the IsBackEnabled dependency property.

Declaration
public static readonly DependencyProperty IsBackEnabledProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

IsPaneToggleButtonVisibleProperty

Identifies the IsPaneToggleButtonVisible dependency property.

Declaration
public static readonly DependencyProperty IsPaneToggleButtonVisibleProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

SubtitleProperty

Identifies the Subtitle dependency property.

Declaration
public static readonly DependencyProperty SubtitleProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

TemplateSettingsProperty

Identifies the TemplateSettings dependency property.

Declaration
public static readonly DependencyProperty TemplateSettingsProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

TitleProperty

Identifies the Title dependency property.

Declaration
public static readonly DependencyProperty TitleProperty
Field Value
Type Description
DependencyProperty

Properties

| Improve this Doc View Source

Content

Gets or sets the content for the titlebar

Declaration
public object Content { get; set; }
Property Value
Type Description
System.Object
| Improve this Doc View Source

Footer

Gets or sets the footer of the titlebar

Declaration
public object Footer { get; set; }
Property Value
Type Description
System.Object
| Improve this Doc View Source

Header

Gets or sets the Header content for the titlebar

Declaration
public object Header { get; set; }
Property Value
Type Description
System.Object
| Improve this Doc View Source

IconSource

Gets or sets the Icon for the titlebar

Declaration
public IconSource IconSource { get; set; }
Property Value
Type Description
IconSource
| Improve this Doc View Source

IsBackButtonVisible

Gets or sets a value indicating whether the back button is visible

Declaration
public bool IsBackButtonVisible { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsBackEnabled

Gets or sets a value indicating whether the back button is enabled

Declaration
public bool IsBackEnabled { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsPaneToggleButtonVisible

Gets or sets a value indicating whether the pane toggle button is visible

Declaration
public bool IsPaneToggleButtonVisible { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Subtitle

Gets or sets the Subtitle for the titlebar

Declaration
public string Subtitle { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

TemplateSettings

Gets the template settings for the titlebar

Declaration
public TitleBarTemplateSettings TemplateSettings { get; }
Property Value
Type Description
TitleBarTemplateSettings
| Improve this Doc View Source

Title

Gets or sets the Window title

Declaration
public string Title { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

Finalize()

Finalizer

Declaration
protected void Finalize()
| Improve this Doc View Source

OnApplyTemplate()

Declaration
protected override void OnApplyTemplate()
| Improve this Doc View Source

OnCreateAutomationPeer()

Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type Description
AutomationPeer

Events

| Improve this Doc View Source

BackRequested

Raised when the back button is clicked

Declaration
public event Foundation.TypedEventHandler<TitleBar, object>? BackRequested
Event Type
Type Description
System.Nullable<Windows.Foundation.TypedEventHandler<TitleBar, System.Object>>
| Improve this Doc View Source

PaneToggleRequested

Raised when the Pane toggle button is clicked

Declaration
public event Foundation.TypedEventHandler<TitleBar, object>? PaneToggleRequested
Event Type
Type Description
System.Nullable<Windows.Foundation.TypedEventHandler<TitleBar, System.Object>>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX