alexa
menu

WPF

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

    Show / Hide Table of Contents

    Class HeaderPanel

    Single element layout panel.

    Inheritance
    System.Object
    HeaderPanel
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class HeaderPanel : Panel

    Constructors

    HeaderPanel()

    Declaration
    public HeaderPanel()

    Methods

    ArrangeOverride(Size)

    Provide a required override for the ArrangeOverride method.

    Declaration
    protected override Size ArrangeOverride(Size finalSize)
    Parameters
    Type Name Description
    System.Windows.Size finalSize

    The final area within the parent that this element should use to arrange itself and its children

    Returns
    Type Description
    System.Windows.Size

    The actual size used.

    MeasureOverride(Size)

    Provides a required override for the MeasureOverride method.

    Declaration
    protected override Size MeasureOverride(Size availableSize)
    Parameters
    Type Name Description
    System.Windows.Size availableSize

    The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available.

    Returns
    Type Description
    System.Windows.Size

    The size that this element determines it needs during layout, based on its calculations of child element sizes.

    OnMouseLeave(MouseEventArgs)

    Handles the MouseLeave event when the mouse pointer leaves the header panel.

    Declaration
    protected override void OnMouseLeave(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseEventArgs e

    The System.Windows.Input.MouseEventArgs that contains the event data.

    Remarks

    This override checks if the current control is part of a DockingManager and invokes OnMouseLeaveOnHeaderPanel to handle any custom logic defined for mouse leave events on header panels. The base implementation is also called to ensure standard behavior is preserved.

    OnMouseMove(MouseEventArgs)

    Handles the MouseMove event when the mouse pointer moves over the header panel.

    Declaration
    protected override void OnMouseMove(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseEventArgs e

    The System.Windows.Input.MouseEventArgs that contains the event data.

    Remarks

    This override checks if the current control is part of a DockingManager and invokes OnMouseMoveOnHeaderPanel to handle any custom logic defined for mouse movement over header panels. The base implementation is also called to ensure standard behavior is preserved.

    OnTouchLeave(TouchEventArgs)

    Handles the TouchLeave event when a touch interaction leaves the header panel area.

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

    OnTouchMove(TouchEventArgs)

    Handles the TouchMove event when a touch interaction moves over the header panel.

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

    The System.Windows.Input.TouchEventArgs that contains the event data.

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