Class AdornerFloatWindow
Represents the Adorner float window
Inheritance
Implements
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 |
---|
System.Windows.DependencyProperty |
IsDraggingProperty
Identifies IsDragging dependency property of the FloatWindow.
Declaration
public static readonly DependencyProperty IsDraggingProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
PrimaryElementProperty
Identifies PrimaryElement dependency property of the FloatWindow.
Declaration
public static readonly DependencyProperty PrimaryElementProperty
Field Value
Type |
---|
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 |
|
Child
Gets or sets the child.
Declaration
public UIElement Child { get; set; }
Property Value
Type |
---|
System.Windows.UIElement |
DockingManager
Gets or sets the docking manager.
Declaration
public DockingManager DockingManager { get; set; }
Property Value
Type |
---|
DockingManager |
FloatChild
Gets or sets the float child.
Declaration
public FrameworkElement FloatChild { get; set; }
Property Value
Type |
---|
System.Windows.FrameworkElement |
Header
Gets or sets the header.
Declaration
public UIElement Header { get; set; }
Property Value
Type |
---|
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 |
|
IsDragging
Gets or sets a value indicating whether this instance is dragging.
Declaration
public bool IsDragging { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
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 |
|
IsOpen
Gets or sets a value indicating whether this instance is open.
Declaration
public bool IsOpen { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
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_Height()
Declaration
double IWindow.get_Height()
Returns
Type |
---|
System.Double |
IWindow.get_Opacity()
Declaration
double IWindow.get_Opacity()
Returns
Type |
---|
System.Double |
IWindow.get_Width()
Declaration
double IWindow.get_Width()
Returns
Type |
---|
System.Double |
IWindow.set_Height(Double)
Declaration
void IWindow.set_Height(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |
IWindow.set_Opacity(Double)
Declaration
void IWindow.set_Opacity(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |
IWindow.set_Width(Double)
Declaration
void IWindow.set_Width(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |