ClassWindowPresenterBase
Definition
Namespace:Telerik.UI.Xaml.Controls.InternalWindow
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class WindowPresenterBase : ContentPresenter
Inheritance: objectWindowPresenterBase
Constructors
WindowPresenterBase(IDragAware)
Initializes a new instance of the WindowPresenterBase class.
Declaration
public WindowPresenterBase(IDragAware windowHost)
Parameters
windowHost
Fields
CaptionHeightProperty
Declaration
public static readonly DependencyProperty CaptionHeightProperty
Field Value
DependencyProperty
LeftProperty
Declaration
public static readonly DependencyProperty LeftProperty
Field Value
DependencyProperty
ResizeBorderProperty
Declaration
public static readonly DependencyProperty ResizeBorderProperty
Field Value
DependencyProperty
SizeToContentProperty
Declaration
public static readonly DependencyProperty SizeToContentProperty
Field Value
DependencyProperty
TopProperty
Declaration
public static readonly DependencyProperty TopProperty
Field Value
DependencyProperty
WindowHeightProperty
Declaration
public static readonly DependencyProperty WindowHeightProperty
Field Value
DependencyProperty
WindowResizeModeProperty
Declaration
public static readonly DependencyProperty WindowResizeModeProperty
Field Value
DependencyProperty
WindowStateProperty
Declaration
public static readonly DependencyProperty WindowStateProperty
Field Value
DependencyProperty
WindowWidthProperty
Declaration
public static readonly DependencyProperty WindowWidthProperty
Field Value
DependencyProperty
Properties
InitialPosition
Declaration
protected Rect InitialPosition { get; set; }
Property Value
Rect
ResizeBorder
Declaration
public Thickness ResizeBorder { get; set; }
Property Value
Thickness
WindowResizeMode
Declaration
public ResizeMode WindowResizeMode { get; set; }
Property Value
WindowState
Declaration
public WindowState WindowState { get; set; }
Property Value
Methods
GenerateHitTestRectangles()
Declaration
protected Rect[] GenerateHitTestRectangles()
Returns
Rect[]
GetMaximumSize()
Declaration
protected virtual Size GetMaximumSize()
Returns
Size
MeasureOverride(Size)
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
availableSize
Size
Returns
Size
OnWindowPositionChanged()
Declaration
protected virtual void OnWindowPositionChanged()
OnWindowSizeChanged()
Declaration
protected virtual void OnWindowSizeChanged()
OnWindowStateChanged(WindowState)
Declaration
protected virtual void OnWindowStateChanged(WindowState oldState)
Parameters
oldState
Resize(Rect)
Declaration
protected void Resize(Rect position)
Parameters
position
Rect
SetSizeAndPosition(Rect)
Declaration
protected void SetSizeAndPosition(Rect rect)
Parameters
rect
Rect
UpdatePosition(Rect)
Declaration
protected void UpdatePosition(Rect position)
Parameters
position
Rect