ClassRadWindow
Represents the Silverlight RadWindow control wrapper.
Definition
Namespace:Telerik.WebAii.Controls.Xaml
Assembly:Telerik.WebAii.Controls.Xaml.dll
Syntax:
public class RadWindow : ContentControl, IAutomationPeer, IPeerConverter, IRadWindow, IContentControl, IControl, IFrameworkElement, ITargetElement
Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementSilverlightTestElementControlContentControlRadWindow
Derived Classes:
Implements:
Inherited Members
Constructors
RadWindow()
Initializes a new instance of the RadWindow class.
Declaration
public RadWindow()
Properties
CanClose
Gets a value indicating whether the current RadWindow can be closed.
CanMove
Gets a value indicating whether the current RadWindow can be moved.
ContentPresenterElement
Get the Window content presenter element.
Declaration
public ContentPresenter ContentPresenterElement { get; }
Property Value
IsActiveWindow
Gets a value indicating whether this instance is active.
IsMaximized
Gets a value that represents whether the RadWindow is maximized.
IsMinimized
Gets a value that represents whether the RadWindow is minimized.
IsModal
Gets a value that represents whether the RadWindow is modal.
IsOpen
Gets a value representing the current RadWindow open state.
Left
Gets or sets a value that represents the distance between the left side of an element and the left side of the page.
LeftOffset
Gets or sets an offset value for the Left position in case of 'WindowStartupLocation' is set to CenterParent.
Declaration
[Obsolete("The property is deprecated. The property is removed from RadWindow in 2011.2.712")]
public double LeftOffset { get; set; }
Property Value
Implements
RestoreMinimizedLocation
Gets the value determining whether the window preserves its size and location when the state is changed.
Declaration
public bool RestoreMinimizedLocation { get; }
Property Value
Implements
Title
Get the title of the window.
Top
Gets or sets a value that represents the distance between the top of an element and the top of the page.
TopOffset
Gets or sets an offset value for the Top position in case of 'WindowStartupLocation' is set to 'CenterParent'.
Declaration
[Obsolete("The property is deprecated. The property is removed from RadWindow in 2011.2.712")]
public double TopOffset { get; set; }
Property Value
Implements
Methods
Close()
Closes the window by a 'Close' button Click action.
Declaration
public void Close()
Implements
HeightCloseTo(double)
Round the height of the window.
HorizontalCoordinateCloseTo(double)
Round the horizontal coordinates of the window.
Maximize()
Maximizes the window by a 'Maximize' button Click action.
Declaration
public void Maximize()
Implements
Minimize()
Minimizes the window by a 'Minimize' button Click action.
Declaration
public void Minimize()
Implements
MoveBy(int, int)
Moves the window dragging its header thumb by the given pixels on X and Y coordinates.
Resize(OffsetReference, int, int)
Resize the window from a given pont with specified offset.
Declaration
public void Resize(OffsetReference startPoint, int offsetByX, int offsetByY)
Parameters
startPoint
The start point from which the resizing starts.
offsetByX
The offset of resizing by X.
offsetByY
The offset of resizing by Y.
Implements
ResizeDown(int)
Resizes (Down) the window with given pixels.
Declaration
public void ResizeDown(int offsetByY)
Parameters
offsetByY
The pixels to add on down resizing.
Implements
ResizeDownLeft(int, int)
Resizes to down/left the window with given pixels.
ResizeDownRight(int, int)
Resizes to down/right the window with given pixels.
ResizeLeft(int)
Resizes (Left) the window with given pixels.
Declaration
public void ResizeLeft(int offsetByX)
Parameters
offsetByX
The pixels to add on left resizing.
Implements
ResizeRight(int)
Resizes (Right) the window with given pixels.
Declaration
public void ResizeRight(int offsetByX)
Parameters
offsetByX
The pixels to add on right resizing.
Implements
ResizeUp(int)
Resizes (UP) the window with given pixels.
Declaration
public void ResizeUp(int offsetByY)
Parameters
offsetByY
The pixels to add on up resizing.
Implements
ResizeUpLeft(int, int)
Resizes to up/left the window with given pixels.
ResizeUpRight(int, int)
Resizes to up/right the window with given pixels.
Restore()
Restores the state (from maximized/minimized to normal) of the window by Click action on the respective button.
Declaration
public void Restore()
Implements
VerticalCoordinateCloseTo(double)
Round the vertical coordinates of the window.
WidthCloseTo(double)
Round the width of the window.