New to Telerik UI for WPFStart a free 30-day trial

A Popup window that can be used as a normal Window in XBAP application. It uses Popup as a placeholder.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class PopupWindow : ContentControl, IWindow

Inheritance: objectPopupWindow

Implements: IWindow

Constructors

C#
public PopupWindow()

Fields

IconProperty

DependencyProperty

Identifies the Icon property.

C#
public static readonly DependencyProperty IconProperty
Field Value:

The identifier for the Icon property.

LeftProperty

DependencyProperty

Identifies the Left property.

C#
public static readonly DependencyProperty LeftProperty
Field Value:

The identifier for the Left property.

PlacementProperty

DependencyProperty

Identifies the PlacementMode property.

C#
public static readonly DependencyProperty PlacementProperty
Field Value:

The identifier for the PlacementMode property.

TitleProperty

DependencyProperty

Identifies the Title property.

C#
public static readonly DependencyProperty TitleProperty
Field Value:

The identifier for the Title property.

TopProperty

DependencyProperty

Identifies the Top property.

C#
public static readonly DependencyProperty TopProperty
Field Value:

The identifier for the Top property.

Properties

Icon

ImageSource

Gets or sets the icon of the window. This is a dependency property.

C#
public ImageSource Icon { get; set; }
Property Value:

An ImageSource that represents the window's icon.

Implements: IWindow.Icon

Gets or sets the window's left edge. This is a dependency property.

C#
public double Left { get; set; }
Property Value:

The position of the window's left edge.

Gets or sets the PlacementMode of the window. This is a dependency property.

C#
public PlacementMode Placement { get; set; }
Property Value:

The current PlacementMode of the window. The default value is Center

Gets or sets the window's title. This is a dependency property.

C#
public string Title { get; set; }
Property Value:

A string that contains the window's title.

Implements: IWindow.Title

Gets or sets the window's top edge. This is a dependency property.

C#
public double Top { get; set; }
Property Value:

The position of the window's top edge.

WindowStartupLocation

WindowStartupLocation

Gets or sets the window startup location.

C#
public WindowStartupLocation WindowStartupLocation { get; set; }
Property Value:

The window startup location.

Methods

Activates the window and brings it to the foreground.

C#
public void Activate()

Implements: IWindow.Activate()

Manually closes the window.

C#
public void Close()

Implements: IWindow.Close()

Minimizes the window.

C#
public void Minimize()

Opens the window.

C#
public void Show()

Implements: IWindow.Show()