Class NativeFloatWindow
Inheritance
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
public class NativeFloatWindow : Window
Constructors
NativeFloatWindow()
Intialize a new instance of NativeFloatWindow
Declaration
public NativeFloatWindow()
Fields
CloseCommand
Command that is responsible for closing the NativeFloatWindow to the NativeFloatWindow.
Declaration
public static RoutedUICommand CloseCommand
Field Value
Type |
---|
System.Windows.Input.RoutedUICommand |
DockingManagerProperty
Identifies DockingManager dependency property of the FloatWindow.
Declaration
public static readonly DependencyProperty DockingManagerProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
HeaderProperty
Declaration
public static readonly DependencyProperty HeaderProperty
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 |
IsOpenProperty
Declaration
public static readonly DependencyProperty IsOpenProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MaximizeButtonEnabledProperty
Idenfities the MaximizeButtonEnabled dependecny property of the floatwindow
Declaration
public static readonly DependencyProperty MaximizeButtonEnabledProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MaximizeCommand
Command that is responsible for maximizing the NativeFloatWindow to the NativeFloatWindow.
Declaration
public static RoutedUICommand MaximizeCommand
Field Value
Type |
---|
System.Windows.Input.RoutedUICommand |
MinimizeCommand
Command that is responsible for minimizing the NativeFloatWindow to the NativeFloatWindow.
Declaration
public static RoutedUICommand MinimizeCommand
Field Value
Type |
---|
System.Windows.Input.RoutedUICommand |
PrimaryElementProperty
Declaration
public static readonly DependencyProperty PrimaryElementProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
RestoreCommand
Command that is responsible for restoring the NativeFloatWindow to the NativeFloatWindow.
Declaration
public static RoutedUICommand RestoreCommand
Field Value
Type |
---|
System.Windows.Input.RoutedUICommand |
Properties
DockingManager
Gets or sets the docking manager.
Declaration
public DockingManager DockingManager { get; set; }
Property Value
Type | Description |
---|---|
DockingManager | The docking manager. |
Header
Gets or sets the Header property
Declaration
public string Header { get; set; }
Property Value
Type |
---|
System.String |
HitTestDisabled
Gets or sets the HitTestDisabled property
Declaration
public bool HitTestDisabled { get; set; }
Property Value
Type |
---|
System.Boolean |
IsDragging
Gets or sets a value indicating whether IsDragging of the FloatWindow.
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 the IsOpen dependency property
Declaration
public bool IsOpen { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
MaximizeButtonEnabled
Gets or sets the MaximizeButtonEnabled property
Declaration
public bool MaximizeButtonEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
PrimaryElement
Gets or sets PrimaryElement of the FloatWindow.This is a dependency property.
Declaration
public FrameworkElement PrimaryElement { get; set; }
Property Value
Type |
---|
System.Windows.FrameworkElement |
SystemMenu
Gets or sets the systemmenu.
Declaration
public ContextMenu SystemMenu { get; set; }
Property Value
Type |
---|
System.Windows.Controls.ContextMenu |
Methods
DefWindowProc(IntPtr, Int32, IntPtr, IntPtr)
Declaration
public static IntPtr DefWindowProc(IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | hWnd | |
System.Int32 | msg | |
System.IntPtr | wParam | |
System.IntPtr | lParam |
Returns
Type |
---|
System.IntPtr |
GetVisibleHostsCount(DockedElementsContainer)
Invoke when determining the count of the VisibleHostsCount
Declaration
public int GetVisibleHostsCount(DockedElementsContainer container)
Parameters
Type | Name | Description |
---|---|---|
DockedElementsContainer | container | The container |
Returns
Type | Description |
---|---|
System.Int32 | Returns the count of the visible host count = |
OnActivated(EventArgs)
Declaration
protected override void OnActivated(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |
OnApplyTemplate()
Called when an internal process or application calls ApplyTemplate, which is used to build the current template's visual tree.
Declaration
public override void OnApplyTemplate()
OnContentChanged(Object, Object)
Declaration
protected override void OnContentChanged(object oldContent, object newContent)
Parameters
Type | Name | Description |
---|---|---|
System.Object | oldContent | |
System.Object | newContent |
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type |
---|
System.Windows.Automation.Peers.AutomationPeer |
OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)
Declaration
protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.KeyboardFocusChangedEventArgs | e |
OnInitialized(EventArgs)
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |
OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs)
Declaration
protected override void OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e |
OnKeyDown(KeyEventArgs)
Invoke
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.KeyEventArgs | e | The System.Windows.Input.KeyEventArgs that contains the event data. |
OnKeyUp(KeyEventArgs)
Invoke
Declaration
protected override void OnKeyUp(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.KeyEventArgs | e | The System.Windows.Input.KeyEventArgs that contains the event data. |
OnPreviewKeyDown(KeyEventArgs)
Invoke
Declaration
protected override void OnPreviewKeyDown(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.KeyEventArgs | e | The System.Windows.Input.KeyEventArgs that contains the event data. |
OnPreviewKeyUp(KeyEventArgs)
Invoke
Declaration
protected override void OnPreviewKeyUp(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.KeyEventArgs | e | The System.Windows.Input.KeyEventArgs that contains the event data. |
OnSourceInitialized(EventArgs)
Declaration
protected override void OnSourceInitialized(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |
OnStylusSystemGesture(StylusSystemGestureEventArgs)
Declaration
protected override void OnStylusSystemGesture(StylusSystemGestureEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.StylusSystemGestureEventArgs | e |
OnTouchDown(TouchEventArgs)
Invoked when TouchDown on NativeFloatWindow.
Declaration
protected override void OnTouchDown(TouchEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.TouchEventArgs | e |
OnTouchUp(TouchEventArgs)
Invoked when TouchUp on NativeFloatWindow.
Declaration
protected override void OnTouchUp(TouchEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.TouchEventArgs | e |
SetNewPrimaryElement(FrameworkElement)
Invoke when set a new primary element
Declaration
public void SetNewPrimaryElement(FrameworkElement element)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.FrameworkElement | element | The Primary element |
UpdateDataContext()
Invoke when data context updated.
Declaration
public void UpdateDataContext()
UpdateIsMultiHostProperty()
Invoke when IsMultiHostProperty updated
Declaration
public void UpdateIsMultiHostProperty()