skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadWindow

Inheritance
System.Object
HeaderedContentControl
WindowBase
RadWindow
FindDialog
PasswordRequiredDialog
SignaturePropertiesDialog
SignSignatureDialog
SchedulerWindow
Inherited Members
WindowBase.IsModalProperty
WindowBase.IsOpenProperty
WindowBase.IsResizingProperty
WindowBase.IsDraggingProperty
WindowBase.IsActiveWindowProperty
WindowBase.IsTopmostProperty
WindowBase.CaptionHeightProperty
WindowBase.ResizeBorderProperty
WindowBase.LeftProperty
WindowBase.TopProperty
WindowBase.WindowStateProperty
WindowBase.ResizeModeProperty
WindowBase.CanCloseProperty
WindowBase.CanMoveProperty
WindowBase.SizeToContentProperty
WindowBase.HideMinimizeButtonProperty
WindowBase.HideMaximizeButtonProperty
WindowBase.Close()
WindowBase.GetZIndex()
WindowBase.BringToFront()
WindowBase.GetNormalSizeAndPosition()
WindowBase.IDragAware.OnDragStart(Point, Boolean)
WindowBase.IDragAware.OnDragEnd(Point, Boolean, Boolean)
WindowBase.IDragAware.OnDragDelta(Point, Rect, Rect, Boolean)
WindowBase.ShouldActivateOnShow()
WindowBase.ShowWindow(Boolean)
WindowBase.CheckCanClose()
WindowBase.OnLayoutChangeEnded(EventArgs)
WindowBase.OnLocationChanged(EventArgs)
WindowBase.OnLayoutChangeStarted(EventArgs)
WindowBase.OnGotFocus(RoutedEventArgs)
WindowBase.GetApplicationSize()
WindowBase.OnLayoutChangeEnded()
WindowBase.OnLayoutChangeStarted()
WindowBase.CloseWithoutEventsAndAnimations()
WindowBase.OnCloseAnimationFinished()
WindowBase.OnShowAnimationFinished()
WindowBase.OnRightMouseButtonUp()
WindowBase.OnRootVisualSizeChanged()
WindowBase.OnDragStart(Point, Boolean)
WindowBase.OnDragEnd(Point, Boolean, Boolean)
WindowBase.OnDragDelta(Point, Rect, Rect, Boolean)
WindowBase.OnActivated(EventArgs)
WindowBase.OnDeactivated(EventArgs)
WindowBase.IsModal
WindowBase.IsOpen
WindowBase.IsTopmost
WindowBase.CaptionHeight
WindowBase.ResizeBorder
WindowBase.Left
WindowBase.Top
WindowBase.IsResizing
WindowBase.IsDragging
WindowBase.IsLayoutChanging
WindowBase.WindowState
WindowBase.ResizeMode
WindowBase.CanClose
WindowBase.CanMove
WindowBase.IsActiveWindow
WindowBase.SizeToContent
WindowBase.HideMaximizeButton
WindowBase.HideMinimizeButton
WindowBase.Owner
WindowBase.Activated
WindowBase.Deactivated
WindowBase.LayoutChangeEnded
WindowBase.LayoutChangeStarted
WindowBase.LocationChanged
WindowBase.WindowStateChanged
HeaderedContentControl.HasHeaderProperty
HeaderedContentControl.HeaderProperty
HeaderedContentControl.HeaderTemplateProperty
HeaderedContentControl.FocusVisualStyleProperty
HeaderedContentControl.HeaderTemplateSelectorProperty
HeaderedContentControl.IsFocusedProperty
HeaderedContentControl.ChangeVisualState()
HeaderedContentControl.OnIsEnabledChanged(DependencyPropertyChangedEventArgs)
HeaderedContentControl.OnHeaderChanged(Object, Object)
HeaderedContentControl.OnHeaderTemplateChanged(DataTemplate, DataTemplate)
HeaderedContentControl.OnIsFocusedChanged(DependencyPropertyChangedEventArgs)
HeaderedContentControl.OnLostFocus(RoutedEventArgs)
HeaderedContentControl.HasHeader
HeaderedContentControl.IsFocused
HeaderedContentControl.Header
HeaderedContentControl.FocusVisualStyle
HeaderedContentControl.HeaderTemplate
HeaderedContentControl.HeaderTemplateSelector
Namespace: Telerik.UI.Xaml.Controls
Assembly: Telerik.WinUI.Controls.dll

Syntax

public class RadWindow : WindowBase, INotifyLayoutChange, IWindowDragAware, IDragAware, IClickAware, IWindow

Constructors

RadWindow()

Declaration
public RadWindow()

Fields

BorderBackgroundProperty

Declaration
public static readonly DependencyProperty BorderBackgroundProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

DialogResultProperty

Declaration
public static readonly DependencyProperty DialogResultProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

IconProperty

Declaration
public static readonly DependencyProperty IconProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

IconTemplateProperty

Declaration
public static readonly DependencyProperty IconTemplateProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

IsRestrictedProperty

Declaration
public static readonly DependencyProperty IsRestrictedProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

IsRestrictedWhenMaximizedProperty

Declaration
public static readonly DependencyProperty IsRestrictedWhenMaximizedProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

ModalBackgroundProperty

Declaration
public static readonly DependencyProperty ModalBackgroundProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

PromptResultProperty

Declaration
public static readonly DependencyProperty PromptResultProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

ResponseButtonProperty

Declaration
public static readonly DependencyProperty ResponseButtonProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

RestoreMinimizedLocationProperty

Declaration
public static readonly DependencyProperty RestoreMinimizedLocationProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

RestrictedAreaMarginProperty

Declaration
public static readonly DependencyProperty RestrictedAreaMarginProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

WindowStartupLocationProperty

Declaration
public static readonly DependencyProperty WindowStartupLocationProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

Properties

BorderBackground

Declaration
public Brush BorderBackground { get; set; }
Property Value
Microsoft.UI.Xaml.Media.Brush

DefaultSizeRatio

Declaration
public static double DefaultSizeRatio { get; }
Property Value
System.Double

DialogResult

Declaration
public Nullable<bool> DialogResult { get; set; }
Property Value
System.Nullable<System.Boolean>

Icon

Declaration
public object Icon { get; set; }
Property Value
System.Object

IconTemplate

Declaration
public DataTemplate IconTemplate { get; set; }
Property Value
Microsoft.UI.Xaml.DataTemplate

IsRestricted

Declaration
public bool IsRestricted { get; set; }
Property Value
System.Boolean

IsRestrictedWhenMaximized

Declaration
public bool IsRestrictedWhenMaximized { get; set; }
Property Value
System.Boolean

ModalBackground

Declaration
public Brush ModalBackground { get; set; }
Property Value
Microsoft.UI.Xaml.Media.Brush

OutOfBrowserOwner

Declaration
public Window OutOfBrowserOwner { get; set; }
Property Value
Microsoft.UI.Xaml.Window

PromptResult

Declaration
public string PromptResult { get; set; }
Property Value
System.String

RestoreMinimizedLocation

Declaration
public bool RestoreMinimizedLocation { get; set; }
Property Value
System.Boolean

RestrictedAreaMargin

Declaration
public Thickness RestrictedAreaMargin { get; set; }
Property Value
Microsoft.UI.Xaml.Thickness

WindowStartupLocation

Declaration
public WindowStartupLocation WindowStartupLocation { get; set; }
Property Value
WindowStartupLocation

Methods

ChangeVisualState(Boolean)

Declaration
protected override void ChangeVisualState(bool useTransitions)
Parameters
System.Boolean useTransitions

Overrides
WindowBase.ChangeVisualState(Boolean)

GetParentRadWindow(DependencyObject)

Declaration
public static RadWindow GetParentRadWindow(DependencyObject child)
Parameters
Microsoft.UI.Xaml.DependencyObject child

Returns
RadWindow

GetResponseButton(DependencyObject)

Declaration
public static ResponseButton GetResponseButton(DependencyObject button)
Parameters
Microsoft.UI.Xaml.DependencyObject button

Returns
ResponseButton

GetWindowOwner()

Declaration
protected override ContentControl GetWindowOwner()
Returns
Microsoft.UI.Xaml.Controls.ContentControl

Overrides
WindowBase.GetWindowOwner()

GetWindowStartupLocation()

Declaration
protected override WindowStartupLocation GetWindowStartupLocation()
Returns
WindowStartupLocation

Overrides
WindowBase.GetWindowStartupLocation()

OnApplyTemplate()

Declaration
protected override void OnApplyTemplate()
Overrides
HeaderedContentControl.OnApplyTemplate()

OnClosed()

Declaration
protected override void OnClosed()
Overrides
WindowBase.OnClosed()

OnClosed(WindowClosedEventArgs)

Declaration
protected virtual void OnClosed(WindowClosedEventArgs args)
Parameters
WindowClosedEventArgs args

OnClosing()

Declaration
protected override bool OnClosing()
Returns
System.Boolean

Overrides
WindowBase.OnClosing()

OnPreviewClosed()

Declaration
protected virtual bool OnPreviewClosed()
Returns
System.Boolean

OnPreviewClosed(WindowPreviewClosedEventArgs)

Declaration
protected virtual void OnPreviewClosed(WindowPreviewClosedEventArgs args)
Parameters
WindowPreviewClosedEventArgs args

OnPreviewKeyDown(KeyRoutedEventArgs)

Declaration
protected override void OnPreviewKeyDown(KeyRoutedEventArgs e)
Parameters
Microsoft.UI.Xaml.Input.KeyRoutedEventArgs e

OnWindowStateChanged(EventArgs)

Declaration
protected override void OnWindowStateChanged(EventArgs args)
Parameters
System.EventArgs args

Overrides
WindowBase.OnWindowStateChanged(EventArgs)

SetResponseButton(DependencyObject, ResponseButton)

Declaration
public static void SetResponseButton(DependencyObject button, ResponseButton value)
Parameters
Microsoft.UI.Xaml.DependencyObject button

ResponseButton value

ShouldFocusOnActivate()

Declaration
protected override bool ShouldFocusOnActivate()
Returns
System.Boolean

Overrides
WindowBase.ShouldFocusOnActivate()

Show()

Declaration
public void Show()

ShowDialog()

Declaration
public void ShowDialog()

Events

Closed

Declaration
public event EventHandler<WindowClosedEventArgs> Closed
Event Type
System.EventHandler<WindowClosedEventArgs>

PreviewClosed

Declaration
public event EventHandler<WindowPreviewClosedEventArgs> PreviewClosed
Event Type
System.EventHandler<WindowPreviewClosedEventArgs>

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
Support Resources
  • Knowledge Base
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.