WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TitleBar

    Show / Hide Table of Contents

    Class TitleBar

    This class is a container for TitleBar items.

    Inheritance
    System.Object
    TitleBar
    Implements
    System.IDisposable
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class TitleBar : Control, IDisposable

    Constructors

    TitleBar()

    Initializes a new instance of the TitleBar class.

    Declaration
    public TitleBar()

    Fields

    AppMenuColumnWidthProperty

    Defines the AppMenuColumnWidth

    Declaration
    protected static readonly DependencyProperty AppMenuColumnWidthProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    HasVisibleContextTabGroupProperty

    Defines the HasVisibleContextTabGroup

    Declaration
    protected static readonly DependencyProperty HasVisibleContextTabGroupProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    HorizontalTitleOffsetProperty

    Defines the horizontal offset of the title. This is a dependency property.

    Declaration
    public static readonly DependencyProperty HorizontalTitleOffsetProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    QATColumnWidthProperty

    Defines the QATColumnWidth

    Declaration
    protected static readonly DependencyProperty QATColumnWidthProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    RibbonIsVisibleProperty

    Defines the RibbonIsVisible

    Declaration
    protected static readonly DependencyProperty RibbonIsVisibleProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    SysButtonsColumnWidthProperty

    Defines the SysButtonsColumnWidth

    Declaration
    public static readonly DependencyProperty SysButtonsColumnWidthProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    TitleActualWidthProperty

    Defines the TitleActualWidth

    Declaration
    protected static readonly DependencyProperty TitleActualWidthProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    TitleMaxWidthProperty

    Defines the TitleMaxWidth

    Declaration
    public static readonly DependencyProperty TitleMaxWidthProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    TitleProperty

    Identifies title text of the TitleBar. This is a dependency property.

    Declaration
    public static readonly DependencyProperty TitleProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    AppMenuColumnWidth

    Gets or sets the width of the app menu column.

    Declaration
    public double AppMenuColumnWidth { get; protected set; }
    Property Value
    Type Description
    System.Double

    The width of the app menu column.

    HasVisibleContextTabGroup

    Gets or sets a value indicating whether this instance has visible context tab group.

    Declaration
    public bool HasVisibleContextTabGroup { get; protected set; }
    Property Value
    Type Description
    System.Boolean

    true if this instance has visible context tab group; otherwise, false.

    HorizontalTitleOffset

    Gets or sets the horizontal title offset.

    Declaration
    public double HorizontalTitleOffset { get; set; }
    Property Value
    Type Description
    System.Double

    The horizontal title offset.

    IsMousePressed

    Gets or sets a value indicating whether this instance is mouse pressed.

    Declaration
    public bool IsMousePressed { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if this instance is mouse pressed; otherwise, false.

    QATColumnWidth

    Gets or sets the width of the QAT column.

    Declaration
    public double QATColumnWidth { get; protected set; }
    Property Value
    Type Description
    System.Double

    The width of the QAT column.

    RibbonIsVisible

    Gets or sets a value indicating whether [ribbon is visible].

    Declaration
    public bool RibbonIsVisible { get; protected set; }
    Property Value
    Type Description
    System.Boolean

    true if [ribbon is visible]; otherwise, false.

    SysButtonsColumnWidth

    Gets or sets the width of the sys buttons column.

    Declaration
    public double SysButtonsColumnWidth { get; set; }
    Property Value
    Type Description
    System.Double

    The width of the sys buttons column.

    Title

    Gets or sets the title.

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

    The title.

    TitleActualWidth

    Gets or sets the actual width of the title.

    Declaration
    public double TitleActualWidth { get; protected set; }
    Property Value
    Type Description
    System.Double

    The actual width of the title.

    TitleMaxWidth

    Gets or sets the width of the title max.

    Declaration
    public double TitleMaxWidth { get; set; }
    Property Value
    Type Description
    System.Double

    The width of the title max.

    Methods

    Dispose()

    Declaration
    public void Dispose()

    OnApplyTemplate()

    When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.

    Declaration
    public override void OnApplyTemplate()

    OnHasVisibleContextTabGroupChanged(DependencyPropertyChangedEventArgs)

    Updates property value cache and raises HasVisibleContextTabGroupChanged event.

    Declaration
    protected virtual void OnHasVisibleContextTabGroupChanged(DependencyPropertyChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs e

    Property change details, such as old value and new value.

    OnMouseLeftButtonDown(MouseButtonEventArgs)

    Invoked when an unhandled MouseLeftButtonDown routed event is raised on this element. Implement this method to add class handling for this event.

    Declaration
    protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    The MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was pressed.

    OnRibbonIsVisibleChanged(DependencyPropertyChangedEventArgs)

    Updates property value cache and raises RibbonIsVisibleChanged event.

    Declaration
    protected virtual void OnRibbonIsVisibleChanged(DependencyPropertyChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs e

    Property change details, such as old value and new value.

    OnStylusSystemGesture(StylusSystemGestureEventArgs)

    Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation infrastructure.

    Declaration
    protected override void OnStylusSystemGesture(StylusSystemGestureEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.StylusSystemGestureEventArgs e

    OnTouchDown(TouchEventArgs)

    Provides class handling for the TouchDown routed event that occurs when a touch presses inside this element.

    Declaration
    protected override void OnTouchDown(TouchEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.TouchEventArgs e

    The event data

    Events

    HasVisibleContextTabGroupChanged

    Event that is raised when HasVisibleContextTabGroup property is changed.

    Declaration
    public event PropertyChangedCallback HasVisibleContextTabGroupChanged
    Event Type
    Type Description
    System.Windows.PropertyChangedCallback

    RibbonIsVisibleChanged

    Event that is raised when RibbonIsVisible property is changed.

    Declaration
    public event PropertyChangedCallback RibbonIsVisibleChanged
    Event Type
    Type Description
    System.Windows.PropertyChangedCallback

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved