Class Window
Implements features of Window UI control
Inherited Members
Namespace: EmptyKeys.UserInterface
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class Window : UserControl
Constructors
Window()
Initializes a new instance of the Window class.
Declaration
public Window()
Fields
CanResizeProperty
The can resize property
Declaration
public static readonly DependencyProperty CanResizeProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
IsActiveProperty
The is active property
Declaration
public static readonly DependencyProperty IsActiveProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
IsOnTopProperty
The is on top property
Declaration
public static readonly DependencyProperty IsOnTopProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
LeftProperty
The left property
Declaration
public static readonly DependencyProperty LeftProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
TitleProperty
The title property
Declaration
public static readonly DependencyProperty TitleProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
TopProperty
The top property
Declaration
public static readonly DependencyProperty TopProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
CanResize
Gets or sets a value indicating whether this instance can resize.
Declaration
public bool CanResize { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsActive
Gets a value indicating whether this instance is active.
Declaration
public bool IsActive { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsOnTop
Gets or sets a value indicating whether this instance is on top.
Declaration
public bool IsOnTop { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Left
Gets or sets the left.
Declaration
public float Left { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The left. |
Title
Gets or sets the title.
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String | The title. |
Top
Gets or sets the top.
Declaration
public float Top { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The top. |
Methods
ArrangeOverride(Size)
Arrange layout pass - overrider method for children
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
EmptyKeys.UserInterface.Size | finalSize | The final size. |
Returns
Type | Description |
---|---|
EmptyKeys.UserInterface.Size |
Overrides
OnGotFocus(Object, RoutedEventArgs)
Called when [got focus].
Declaration
protected override void OnGotFocus(object sender, RoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The sender. |
RoutedEventArgs | e | The RoutedEventArgs instance containing the event data. |
Overrides
OnLostFocus(Object, RoutedEventArgs)
Called when [lost focus].
Declaration
protected override void OnLostFocus(object sender, RoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The sender. |
RoutedEventArgs | e | The RoutedEventArgs instance containing the event data. |
Overrides
OnPreviewMouseDown(Object, MouseButtonEventArgs)
Called when [preview mouse down].
Declaration
protected override void OnPreviewMouseDown(object sender, MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The sender. |
MouseButtonEventArgs | e | The MouseButtonEventArgs instance containing the event data. |
Overrides
OnPreviewMouseMove(Object, MouseEventArgs)
Called when [preview mouse move].
Declaration
protected override void OnPreviewMouseMove(object sender, MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The sender. |
MouseEventArgs | e | The MouseEventArgs instance containing the event data. |
Overrides
OnPreviewMouseUp(Object, MouseButtonEventArgs)
Called when [preview mouse up].
Declaration
protected override void OnPreviewMouseUp(object sender, MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The sender. |
MouseButtonEventArgs | e | The MouseButtonEventArgs instance containing the event data. |
Overrides
OnPreviewTouchDown(TouchEventArgs)
Raises the PreviewTouchDown event.
Declaration
protected override void OnPreviewTouchDown(TouchEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
TouchEventArgs | e | The TouchEventArgs instance containing the event data. |
Overrides
OnPreviewTouchMove(TouchEventArgs)
Raises the PreviewTouchMove event.
Declaration
protected override void OnPreviewTouchMove(TouchEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
TouchEventArgs | e | The TouchEventArgs instance containing the event data. |
Overrides
OnPreviewTouchUp(TouchEventArgs)
Raises the PreviewTouchUp event.
Declaration
protected override void OnPreviewTouchUp(TouchEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
TouchEventArgs | e | The TouchEventArgs instance containing the event data. |