Show / Hide Table of Contents

Class Window

Implements features of Window UI control

Inheritance
System.Object
DependencyObject
UIElement
Control
ContentControl
UserControl
Window
Inherited Members
ContentControl.ContentProperty
ContentControl.Content
ContentControl.HasContent
Control.BackgroundProperty
Control.Background
Control.BorderBrushProperty
Control.BorderBrush
Control.BorderThicknessProperty
Control.BorderThickness
Control.ForegroundProperty
Control.Foreground
Control.FontProperty
Control.Font
Control.FontFamilyProperty
Control.FontFamily
Control.FontSizeProperty
Control.FontSize
Control.FontStyleProperty
Control.FontStyle
Control.PaddingProperty
Control.Padding
Control.TabIndexProperty
Control.TabIndex
Control.IsTabStopProperty
Control.IsTabStop
Control.TemplateProperty
Control.Template
Control.HorizontalContentAlignmentProperty
Control.HorizontalContentAlignment
Control.VerticalContentAlignmentProperty
Control.VerticalContentAlignment
Control.PreviewMouseDoubleClickEvent
Control.PreviewMouseDoubleClick
Control.OnPreviewMouseDoubleClick(MouseButtonEventArgs)
Control.MouseDoubleClickEvent
Control.MouseDoubleClick
Control.OnMouseDoubleClick(MouseButtonEventArgs)
Control.MeasureOverride(Size)
Control.OnDraw(Renderer, Double, Single)
Control.OnPropertyChanged(DependencyProperty)
Control.InvalidateIsEnabledOnChildren()
UIElement.visualOffset
UIElement.unclippedDesiredSize
UIElement.desiredSize
UIElement.needsClipBounds
UIElement.DesiredSize
UIElement.RenderSize
UIElement.DeviceRenderSize
UIElement.VisualOffset
UIElement.VisualPosition
UIElement.RenderPosition
UIElement.Parent
UIElement.ActualHeight
UIElement.ActualWidth
UIElement.IsLoaded
UIElement.TemplatedParent
UIElement.NameProperty
UIElement.Name
UIElement.HorizontalAlignmentProperty
UIElement.HorizontalAlignment
UIElement.VerticalAlignmentProperty
UIElement.VerticalAlignment
UIElement.VisibilityProperty
UIElement.Visibility
UIElement.MarginProperty
UIElement.Margin
UIElement.HeightProperty
UIElement.Height
UIElement.MaxHeightProperty
UIElement.MaxHeight
UIElement.MinHeightProperty
UIElement.MinHeight
UIElement.WidthProperty
UIElement.Width
UIElement.MaxWidthProperty
UIElement.MaxWidth
UIElement.MinWidthProperty
UIElement.MinWidth
UIElement.TagProperty
UIElement.Tag
UIElement.IsEnabledProperty
UIElement.IsEnabledCoerceValue
UIElement.IsEnabled
UIElement.IsMouseOverProperty
UIElement.IsMouseOver
UIElement.IsMouseCapturedProperty
UIElement.IsMouseCaptured
UIElement.IsTouchCapturedProperty
UIElement.IsTouchCaptured
UIElement.IsKeyboardFocusedProperty
UIElement.IsKeyboardFocused
UIElement.StyleProperty
UIElement.Style
UIElement.DataContextProperty
UIElement.DataContext
UIElement.IsFocusedProperty
UIElement.IsFocused
UIElement.FocusableProperty
UIElement.Focusable
UIElement.IsHitTestVisibleProperty
UIElement.IsHitTestVisible
UIElement.SnapsToDevicePixelsProperty
UIElement.SnapsToDevicePixels
UIElement.UseLayoutRoundingProperty
UIElement.UseLayoutRounding
UIElement.OpacityProperty
UIElement.Opacity
UIElement.IsMeasureValid
UIElement.IsArrangeValid
UIElement.Resources
UIElement.InputBindings
UIElement.ToolTipProperty
UIElement.ToolTip
UIElement.Triggers
UIElement.CursorTypeProperty
UIElement.CursorType
UIElement.EffectProperty
UIElement.Effect
UIElement.DataContextChanged
UIElement.IsEnabledChanged
UIElement.IsMouseCapturedChanged
UIElement.VisibleEvent
UIElement.Visible
UIElement.HiddenEvent
UIElement.Hidden
UIElement.CollapsedEvent
UIElement.Collapsed
UIElement.LoadedEvent
UIElement.Loaded
UIElement.UnloadedEvent
UIElement.Unloaded
UIElement.MouseDownEvent
UIElement.MouseDown
UIElement.PreviewMouseDownEvent
UIElement.PreviewMouseDown
UIElement.MouseUpEvent
UIElement.MouseUp
UIElement.PreviewMouseUpEvent
UIElement.PreviewMouseUp
UIElement.PreviewMouseWheelEvent
UIElement.PreviewMouseWheel
UIElement.MouseWheelEvent
UIElement.MouseWheel
UIElement.MouseMoveEvent
UIElement.MouseMove
UIElement.PreviewMouseMoveEvent
UIElement.PreviewMouseMove
UIElement.MouseEnterEvent
UIElement.MouseEnter
UIElement.MouseLeaveEvent
UIElement.MouseLeave
UIElement.PreviewKeyDownEvent
UIElement.PreviewKeyDown
UIElement.KeyDownEvent
UIElement.KeyDown
UIElement.PreviewKeyUpEvent
UIElement.PreviewKeyUp
UIElement.KeyUpEvent
UIElement.KeyUp
UIElement.GamepadDownEvent
UIElement.GamepadDown
UIElement.PreviewGamepadDownEvent
UIElement.PreviewGamepadDown
UIElement.GamepadUpEvent
UIElement.GamepadUp
UIElement.PreviewGamepadUpEvent
UIElement.PreviewGamepadUp
UIElement.PreviewGamepadMoveEvent
UIElement.PreviewGamepadMove
UIElement.GamepadMoveEvent
UIElement.GamepadMove
UIElement.PreviewGamepadTriggerEvent
UIElement.PreviewGamepadTrigger
UIElement.GamepadTriggerEvent
UIElement.GamepadTrigger
UIElement.PreviewTouchDownEvent
UIElement.PreviewTouchDown
UIElement.TouchDownEvent
UIElement.TouchDown
UIElement.PreviewTouchUpEvent
UIElement.PreviewTouchUp
UIElement.TouchUpEvent
UIElement.TouchUp
UIElement.PreviewTouchMoveEvent
UIElement.PreviewTouchMove
UIElement.TouchMoveEvent
UIElement.TouchMove
UIElement.PreviewTouchGestureEvent
UIElement.PreviewTouchGesture
UIElement.TouchGestureEvent
UIElement.TouchGesture
UIElement.GotFocusEvent
UIElement.GotFocus
UIElement.LostFocusEvent
UIElement.LostFocus
UIElement.SizeChangedEvent
UIElement.SizeChanged
UIElement.LayoutUpdated
UIElement.RequestBringIntoViewEvent
UIElement.RequestBringIntoView
UIElement.DpiScaleX
UIElement.DpiScaleY
UIElement.OnGamepadTrigger(Object, GamepadTriggerEventArgs)
UIElement.OnPreviewGamepadTrigger(Object, GamepadTriggerEventArgs)
UIElement.OnGamepadMove(Object, GamepadMoveEventArgs)
UIElement.OnPreviewGamepadMove(Object, GamepadMoveEventArgs)
UIElement.OnGamepadUp(Object, GamepadButtonEventArgs)
UIElement.OnPreviewGamepadUp(Object, GamepadButtonEventArgs)
UIElement.OnGamepadDown(GamepadButtonEventArgs)
UIElement.OnPreviewGamepadDown(Object, GamepadButtonEventArgs)
UIElement.OnKeyUp(Object, KeyEventArgs)
UIElement.OnPreviewKeyUp(Object, KeyEventArgs)
UIElement.OnKeyDown(KeyEventArgs)
UIElement.OnPreviewKeyDown(Object, KeyEventArgs)
UIElement.OnMouseMove(Object, MouseEventArgs)
UIElement.OnMouseWheel(MouseWheelEventArgs)
UIElement.OnPreviewMouseWheel(Object, MouseWheelEventArgs)
UIElement.OnMouseUp(Object, MouseButtonEventArgs)
UIElement.OnMouseDown(MouseButtonEventArgs)
UIElement.OnMouseLeave(MouseEventArgs)
UIElement.OnMouseEnter(MouseEventArgs)
UIElement.OnTouchUp(TouchEventArgs)
UIElement.OnTouchDown(TouchEventArgs)
UIElement.OnTouchMove(TouchEventArgs)
UIElement.OnTouchGesture(TouchGestureEventArgs)
UIElement.OnPreviewTouchGesture(TouchGestureEventArgs)
UIElement.ApplyTemplate()
UIElement.OnApplyTemplate()
UIElement.OnIsEnabledChanged(DependencyPropertyChangedEventArgs)
UIElement.OnOpacityChanged(DependencyPropertyChangedEventArgs)
UIElement.Contains(PointF, Size)
UIElement.Draw(Renderer, Double, Single)
UIElement.Measure(Size)
UIElement.InvalidateMeasure()
UIElement.Arrange(Rect)
UIElement.InvalidateArrange()
UIElement.FindResource(Object)
UIElement.AddHandler(RoutedEvent, Delegate)
UIElement.RemoveHandler(RoutedEvent, Delegate)
UIElement.RaiseEvent(RoutedEventArgs)
UIElement.AddToEventRoute(EventRoute, RoutedEventArgs)
UIElement.CaptureMouse()
UIElement.ReleaseMouseCapture()
UIElement.OnIsMouseCapturedChanged(DependencyPropertyChangedEventArgs)
UIElement.CaptureTouch()
UIElement.ReleaseTouchCapture()
UIElement.Focus()
UIElement.BringIntoView()
DependencyObject.DependencyObjectType
DependencyObject.IsSealed
DependencyObject.Equals(Object)
DependencyObject.GetHashCode()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.GetValue(DependencyProperty)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.GetLocalValueEnumerator()
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.SetBinding(DependencyProperty, Binding)
DependencyObject.SetResourceReference(DependencyProperty, Object)
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

true if this instance can resize; otherwise, false.

IsActive

Gets a value indicating whether this instance is active.

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

true if this instance is active; otherwise, false.

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

true if this instance is on top; otherwise, false.

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
Control.ArrangeOverride(Size)

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
UIElement.OnGotFocus(Object, RoutedEventArgs)

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
UIElement.OnLostFocus(Object, RoutedEventArgs)

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
UIElement.OnPreviewMouseDown(Object, MouseButtonEventArgs)

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
UIElement.OnPreviewMouseMove(Object, MouseEventArgs)

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
UIElement.OnPreviewMouseUp(Object, MouseButtonEventArgs)

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
UIElement.OnPreviewTouchDown(TouchEventArgs)

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
UIElement.OnPreviewTouchMove(TouchEventArgs)

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.

Overrides
UIElement.OnPreviewTouchUp(TouchEventArgs)
Back to top Generated by DocFX