Class
PopupWindow

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:

cs-api-definition
public class PopupWindow : ContentControl, IWindow

Inheritance: objectPopupWindow

Implements: IWindow

Constructors

PopupWindow()

Declaration

cs-api-definition
public PopupWindow()

Fields

IconProperty

Identifies the Icon property.

Declaration

cs-api-definition
public static readonly DependencyProperty IconProperty

Field Value

DependencyProperty

The identifier for the Icon property.

LeftProperty

Identifies the Left property.

Declaration

cs-api-definition
public static readonly DependencyProperty LeftProperty

Field Value

DependencyProperty

The identifier for the Left property.

PlacementProperty

Identifies the PlacementMode property.

Declaration

cs-api-definition
public static readonly DependencyProperty PlacementProperty

Field Value

DependencyProperty

The identifier for the PlacementMode property.

TitleProperty

Identifies the Title property.

Declaration

cs-api-definition
public static readonly DependencyProperty TitleProperty

Field Value

DependencyProperty

The identifier for the Title property.

TopProperty

Identifies the Top property.

Declaration

cs-api-definition
public static readonly DependencyProperty TopProperty

Field Value

DependencyProperty

The identifier for the Top property.

Properties

Icon

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

Declaration

cs-api-definition
public ImageSource Icon { get; set; }

Property Value

ImageSource

An ImageSource that represents the window's icon.

Implements IWindow.Icon

Left

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

Declaration

cs-api-definition
public double Left { get; set; }

Property Value

double

The position of the window's left edge.

Placement

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

Declaration

cs-api-definition
public PlacementMode Placement { get; set; }

Property Value

PlacementMode

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

Title

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

Declaration

cs-api-definition
public string Title { get; set; }

Property Value

string

A string that contains the window's title.

Implements IWindow.Title

Top

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

Declaration

cs-api-definition
public double Top { get; set; }

Property Value

double

The position of the window's top edge.

WindowStartupLocation

Gets or sets the window startup location.

Declaration

cs-api-definition
public WindowStartupLocation WindowStartupLocation { get; set; }

Property Value

WindowStartupLocation

The window startup location.

Methods

Activate()

Activates the window and brings it to the foreground.

Declaration

cs-api-definition
public void Activate()

Implements IWindow.Activate()

Close()

Manually closes the window.

Declaration

cs-api-definition
public void Close()

Implements IWindow.Close()

Minimize()

Minimizes the window.

Declaration

cs-api-definition
public void Minimize()

Show()

Opens the window.

Declaration

cs-api-definition
public void Show()

Implements IWindow.Show()