WPF

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

    Show / Hide Table of Contents

    Class AdornerFloatWindow

    Represents the Adorner float window

    Inheritance
    System.Object
    AdornerFloatWindow
    Implements
    IWindow
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class AdornerFloatWindow : ContentControl, IWindow

    Constructors

    AdornerFloatWindow(DockingManager, AdornerWindowsLayoutPanel)

    Initializes a new instance of the AdornerFloatWindow class.

    Declaration
    public AdornerFloatWindow(DockingManager docking, AdornerWindowsLayoutPanel panel)
    Parameters
    Type Name Description
    DockingManager docking

    The docking.

    AdornerWindowsLayoutPanel panel

    The panel.

    Fields

    DockingManagerProperty

    Identifies the DockingManager dependency property

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

    IsDraggingProperty

    Identifies IsDragging dependency property of the FloatWindow.

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

    PrimaryElementProperty

    Identifies PrimaryElement dependency property of the FloatWindow.

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

    Properties

    AllowsTransparency

    Gets or sets a value indicating whether [allows transparency].

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

    true if [allows transparency]; otherwise, false.

    Child

    Gets or sets the child.

    Declaration
    public UIElement Child { get; set; }
    Property Value
    Type Description
    System.Windows.UIElement

    DockingManager

    Gets or sets the docking manager.

    Declaration
    public DockingManager DockingManager { get; set; }
    Property Value
    Type Description
    DockingManager

    FloatChild

    Gets or sets the float child.

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

    Header

    Gets or sets the header.

    Declaration
    public UIElement Header { get; set; }
    Property Value
    Type Description
    System.Windows.UIElement

    HitTestDisabled

    Gets or sets a value indicating whether [hit test disabled].

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

    true if [hit test disabled]; otherwise, false.

    IsDragging

    Gets or sets a value indicating whether this instance is dragging.

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

    true if this instance is dragging; otherwise, false.

    IsMultiHostsContainer

    Gets or sets a value indicating whether this instance is multi hosts container.

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

    true if this instance is multi hosts container; otherwise, false.

    IsOpen

    Gets or sets a value indicating whether this instance is open.

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

    true if this instance is open; otherwise, false.

    PlacementRectangle

    Gets or sets the placement rectangle.

    Declaration
    public Rect PlacementRectangle { get; set; }
    Property Value
    Type Description
    System.Windows.Rect

    The placement rectangle.

    PrimaryElement

    Gets or sets the primary element.

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

    The primary element.

    Methods

    CompleteDragging()

    Invoke when the dragging completes.

    Declaration
    public void CompleteDragging()

    GetVisibleHostsCount(DockedElementsContainer)

    Gets the visible hosts count.

    Declaration
    public int GetVisibleHostsCount(DockedElementsContainer container)
    Parameters
    Type Name Description
    DockedElementsContainer container

    The container.

    Returns
    Type Description
    System.Int32

    return the count of the visible host.

    OnMouseLeftButtonDown(MouseButtonEventArgs)

    Invoked when an unhandled System.Windows.UIElement.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 System.Windows.Input.MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was pressed.

    SetNewPrimaryElement(FrameworkElement)

    Invoke when setting the new primary element.

    Declaration
    public void SetNewPrimaryElement(FrameworkElement element)
    Parameters
    Type Name Description
    System.Windows.FrameworkElement element

    The element.

    SetWindowOnTop()

    Invoke when the window set on top.

    Declaration
    public void SetWindowOnTop()

    UpdateDataContext()

    Invoke when the data context updated.

    Declaration
    public void UpdateDataContext()

    UpdateIsMultiHostProperty()

    Invoke when the IsMultiHost property updated.

    Declaration
    public void UpdateIsMultiHostProperty()

    Explicit Interface Implementations

    IWindow.get_Opacity()

    Declaration
    double IWindow.get_Opacity()
    Returns
    Type Description
    System.Double

    IWindow.set_Opacity(Double)

    Declaration
    void IWindow.set_Opacity(double value)
    Parameters
    Type Name Description
    System.Double value

    Implements

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