WPF

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

    Show / Hide Table of Contents

    Class TaskBarStackPanel

    Overrides standard System.Windows.Controls.StackPanel control and extends its functional possibilities.

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

    Constructors

    TaskBarStackPanel()

    Declaration
    public TaskBarStackPanel()

    Fields

    SafeHeightProperty

    Identifies SafeHeight dependency property.

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

    Properties

    SafeHeight

    Gets or sets the value that represents height of the expander. Used in animation.

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

    Type: System.Double Value that represents height of the expander.

    Methods

    MeasureOverride(Size)

    Measures the size in layout required for child elements and determines a size for the System.Windows.FrameworkElement-derived class. Changes SafeHeight for animation .

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

    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.

    OnAnimationInProgressChanged(DependencyPropertyChangedEventArgs)

    Updates property value cache and raises AnimationInProgressChanged event.

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

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

    OnRenderSizeChanged(SizeChangedInfo)

    This method defines SafeHeight property value.

    Declaration
    protected override void OnRenderSizeChanged(SizeChangedInfo sizeInfo)
    Parameters
    Type Name Description
    System.Windows.SizeChangedInfo sizeInfo

    Information about size changing.

    OnSafeHeightChanged(DependencyPropertyChangedEventArgs)

    Updates property value cache and raises SafeHeightChanged event.

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

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

    SizeChanged()

    Method is called when size of the window changed

    Declaration
    public void SizeChanged()

    Events

    AnimationInProgressChanged

    Event that is raised when Syncfusion.Windows.Tools.Controls.TaskBarStackPanel.AnimationInProgress property is changed.

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

    SafeHeightChanged

    Event that is raised when SafeHeight property is changed.

    Declaration
    public event PropertyChangedCallback SafeHeightChanged
    Event Type
    Type Description
    System.Windows.PropertyChangedCallback
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved