Click or drag to resize
WindowBase Class
Inheritance Hierarchy
SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      System.Windows.MediaVisual
        System.WindowsUIElement
          System.WindowsFrameworkElement
            System.Windows.ControlsControl
              System.Windows.ControlsContentControl
                System.Windows.ControlsHeaderedContentControl
                  Telerik.Windows.ControlsWindowBase
                    Telerik.Windows.ControlsDialogWindowBase
                    Telerik.Windows.Controls.DockingToolWindow
                    Telerik.Windows.ControlsRadWindow

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation (in Telerik.Windows.Controls.Navigation.dll) Version: 2017.3.913.40 (2017.3.913.40)
Syntax
public abstract class WindowBase : HeaderedContentControl, 
	INotifyLayoutChange, IWindowDragAware, IDragAware, IClickAware

The WindowBase type exposes the following members.

Constructors
  NameDescription
Protected methodWindowBase
Initializes a new instance of the WindowBase class.
Top
Methods
  NameDescription
Public methodBringToFront
Attempts to bring the WindowBase over any other WindowBases except topmost.
Protected methodChangeVisualState
Updates the visual state of the control.
Protected methodChangeVisualState(Boolean)
Updates the visual state of the control.
Protected methodCheckCanClose
Checks whether the window can be closed. This method doesn't consider the CanClose property, but checked for some other kind of constraints.
Public methodCode exampleClose
Manually closes WindowBase.
Protected methodCloseWithoutEventsAndAnimations
Closes the Window instantly and the closing cannot be interrupted.
Protected methodGetApplicationSize
Gets the application size depending on the platform.
Public methodGetNormalSizeAndPosition
Gets the size and position of the WindowBase in its normal state.
Protected methodGetWindowOwner
Protected methodGetWindowOwnerHandle
Protected methodGetWindowStartupLocation
Public methodGetZIndex
Protected methodOnActivated
Raises the [E:Activated] event. This method is called when the window is activated.
Protected methodOnCloseAnimationFinished
Protected methodOnClosed
Protected methodOnClosing
Protected methodOnCreateAutomationPeer
Create the automation peer for this class.
(Overrides UIElementOnCreateAutomationPeer.)
Protected methodOnDeactivated
Raises the [E:Deactivated] event. This method is called when the window is deactivated.
Protected methodOnDragDelta
Protected methodOnDragEnd
Protected methodOnDragStart
Protected methodOnGotKeyboardFocus
Invoked when an unhandled System.Windows.Input.Keyboard.GotKeyboardFocus attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Overrides UIElementOnGotKeyboardFocus(KeyboardFocusChangedEventArgs).)
Protected methodOnHostCreated
Raises the [E:HostCreated] event.
Protected methodOnLayoutChangeEnded
Protected methodOnLayoutChangeEnded(EventArgs)
Raises the [E:LayoutChangeEnded] event.
Protected methodOnLayoutChangeStarted
Protected methodOnLayoutChangeStarted(EventArgs)
Raises the [E:LayoutChangeStarted] event.
Protected methodOnLocationChanged
Raises the [E:LocationChanged] event.
Protected methodOnRightMouseButtonUp
Protected methodOnRootVisualSizeChanged
Protected methodOnShowAnimationFinished
Protected methodOnWindowStateChanged
Raises the [E:WindowStateChanged] event.
Protected methodShouldActivateOnShow
Protected methodShouldFocusOnActivate
Protected methodShouldSystemMenuOnRightClick
When overridden in the derived class this methods returns value that determines whether the system menu should be shown when the user right-clicks the header of the WindowBase control.
Protected methodShowWindow
Shows the window either modally or not. This method should be used in the subclasses to open the window.
Top
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodDeserializePrimitives
Deserializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodEnableLayoutRounding (Defined by LayoutRoundingHelperExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetAssociatedInlineUIContainer (Defined by ExtensionMethods.)
Public Extension MethodGetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodGetBaseControlItemStatus
Gets a string that communicates the visual status of a Control.
(Defined by AutomationExtensions.)
Public Extension MethodGetBoundsRelativeTo
Gets the bounds relative to the current framework element.
(Defined by ExtensionMethods.)
Public Extension MethodGetGlobalMousePosition
(Defined by WindowHost.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is ancestor of the current UI element.
(Defined by ExtensionMethods.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsKeyboardFocusWithin
Determines whether keyboard focus is within the current UI element.
(Defined by KeyboardHelper.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSerializePrimitives
Serializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodSetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Public Extension MethodSetLayout
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Point)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Double, Double)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSlideInOverloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideIn(TimeSpan)Overloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOutOverloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOut(TimeSpan)Overloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan)Overloaded.
Translates the target element as requested by the parameters.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan, Action)Overloaded.
Translates the target element as requested by the parameters and executes the action request.
(Defined by CalendarAnimation.)
Top
Fields
  NameDescription
Public fieldStatic memberCanCloseProperty
Identifies the CanClose Property.
Public fieldStatic memberCanMoveProperty
Identifies the CanMove Property.
Public fieldStatic memberCaptionHeightProperty
Identifies the CaptionHeight dependency property.
Public fieldStatic memberHideMaximizeButtonProperty
Identifies the HideMaximizeButton dependency property.
Public fieldStatic memberHideMinimizeButtonProperty
Identifies the HideMinimizeButton dependency property.
Public fieldStatic memberIsActiveWindowProperty
Identifies the IsActiveWindow Property.
Public fieldStatic memberIsDraggingProperty
Identifies the IsDragging Property.
Public fieldStatic memberIsInActiveStateProperty
Identifies the RenderActive Property.
Public fieldStatic memberIsModalProperty
Identifies the IsModal Property.
Public fieldStatic memberIsOpenProperty
Identifies the IsOpen Property.
Public fieldStatic memberIsResizingProperty
Identifies the IsResizing Property.
Public fieldStatic memberIsTopmostProperty
Identifies the IsTopmost dependency property.
Public fieldStatic memberLeftProperty
Identifies the Left dependency property.
Public fieldStatic memberResizeBorderProperty
Identifies the ResizeBorder dependency property.
Public fieldStatic memberResizeModeProperty
Identifies the ResizeMode dependency property.
Public fieldStatic memberSizeToContentProperty
Identifies the SizeToContent dependency property.
Public fieldStatic memberTopProperty
Identifies the Top dependency property.
Public fieldStatic memberWindowStateProperty
Identifies the WindowState dependency property.
Top
Properties
  NameDescription
Public propertyCanClose
Gets or sets whether WindowBase can be closed. This is a dependency property.
Public propertyCanMove
Gets or sets whether WindowBase can be dragged. This is a dependency property.
Public propertyCaptionHeight
The extent of the top of the window to treat as the caption.
Public propertyHideMaximizeButton
Gets or sets the visibility of the Maximize button.
Public propertyHideMinimizeButton
Gets or sets the visibility of the Minimize button.
Public propertyIsActiveWindow
Gets a value indicating whether this instance is active. This is a dependency property.
Public propertyIsDragging
Gets a value indicating whether this instance is dragging. This is a dependency property.
Public propertyIsInActiveState
Gets a value indicating whether this instance should appear active. It is not necessary equal to IsActiveWindow. This is a read only dependency property.
Public propertyIsLayoutChanging
Gets a value indicating whether this instance is layout changing.
Public propertyIsModal
Gets a value that represents whether the WindowBase is modal. This is a dependency property.
Public propertyIsOpen
Gets a value that represents whether the WindowBase is open. This is a dependency property.
Public propertyIsResizing
Gets a value indicating whether this instance is resizing. This is a dependency property.
Public propertyIsTopmost
Gets or sets whether the WindowBase is on top.
Public propertyLeft
Gets or sets a value that represents the distance between the left side of an element and the left side of the page. This is a dependency property.
Public propertyOwner
Gets or sets the Owner of the WindowBase.
Public propertyResizeBorder
Get the bounds of the resize grips on the Window.
Public propertyResizeMode
Gets or sets a ResizeMode value for the WindowBase. This is a dependency property.
Public propertySizeToContent
The value of this property is ignored if the Width and Height properties are set.
Public propertyTop
Gets or sets a value that represents the distance between the top of an element and the top of the page. This is a dependency property.
Public propertyWindowState
Gets or sets a WindowBase value for the WindowBase. This is a dependency property.
Top
Events
  NameDescription
Public eventActivated
Occurs when the Window is activated.
Public eventDeactivated
Occurs when the Window is deactivated.
Public eventLayoutChangeEnded
Occurs when a layout change is ended.
Public eventLayoutChangeStarted
Occurs when a layout change is started.
Public eventLocationChanged
Occurs when the value of a Left or Top changes.
Public eventWindowStateChanged
Occurs when the value of a WindowState changes.
Top
See Also