alexa
menu

WPF

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

    Show / Hide Table of Contents

    Class DockStateChangingEventArgs

    Provides data to DockStateChaning event of DockingManager control.

    Inheritance
    System.Object
    System.EventArgs
    DockStateChangingEventArgs
    Inherited Members
    System.EventArgs.Empty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class DockStateChangingEventArgs : EventArgs

    Constructors

    DockStateChangingEventArgs()

    Declaration
    public DockStateChangingEventArgs()

    Properties

    Cancel

    Gets or sets a value indicating whether this DockStateChangingEventArgs is canceled.

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

    true if cancel; otherwise, false

    Remarks

    Default value is false

    PresentState

    Gets present state of SourceElement.

    Declaration
    public DockState PresentState { get; }
    Property Value
    Type Description
    DockState

    The state of the present.

    SourceElement

    Gets the dragging element of DockingManager that raises the DockStateChangingEventArgs event.

    Declaration
    public FrameworkElement SourceElement { get; }
    Property Value
    Type Description
    System.Windows.FrameworkElement

    The source element.

    TargetElement

    Gets the target element to which the SourceElement is trying to dock.

    Declaration
    public FrameworkElement TargetElement { get; }
    Property Value
    Type Description
    System.Windows.FrameworkElement

    The target element

    Remarks

    Value is null when moving to float or autohide state

    TargetSide

    Gets the side to which SourceElement is going to dock on TargetElement.

    Declaration
    public DockSide TargetSide { get; }
    Property Value
    Type Description
    DockSide

    The target side.

    Remarks

    Value is none, when TargetState is Float or AutoHide

    TargetState

    Gets the new state of the SourceElement, when event is not canceled.

    Declaration
    public DockState TargetState { get; }
    Property Value
    Type Description
    DockState

    The state of the target.

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