Class WindowPresenterBase
Inheritance
System.Object
WindowPresenterBase
Namespace: Telerik.Windows.Controls.InternalWindow
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
public class WindowPresenterBase : ContentPresenter
Constructors
WindowPresenterBase(IDragAware)
Initializes a new instance of the WindowPresenterBase class.
Declaration
public WindowPresenterBase(IDragAware windowHost)
Parameters
IDragAware
windowHost
|
Fields
CaptionHeightProperty
Declaration
public static readonly DependencyProperty CaptionHeightProperty
Field Value
System.Windows.DependencyProperty
|
LeftProperty
Declaration
public static readonly DependencyProperty LeftProperty
Field Value
System.Windows.DependencyProperty
|
ResizeBorderProperty
Declaration
public static readonly DependencyProperty ResizeBorderProperty
Field Value
System.Windows.DependencyProperty
|
SizeToContentProperty
Declaration
public static readonly DependencyProperty SizeToContentProperty
Field Value
System.Windows.DependencyProperty
|
TopProperty
Declaration
public static readonly DependencyProperty TopProperty
Field Value
System.Windows.DependencyProperty
|
WindowHeightProperty
Declaration
public static readonly DependencyProperty WindowHeightProperty
Field Value
System.Windows.DependencyProperty
|
WindowResizeModeProperty
Declaration
public static readonly DependencyProperty WindowResizeModeProperty
Field Value
System.Windows.DependencyProperty
|
WindowStateProperty
Declaration
public static readonly DependencyProperty WindowStateProperty
Field Value
System.Windows.DependencyProperty
|
WindowWidthProperty
Declaration
public static readonly DependencyProperty WindowWidthProperty
Field Value
System.Windows.DependencyProperty
|
Properties
CaptionHeight
Declaration
public double CaptionHeight { get; set; }
Property Value
System.Double
|
DragAware
InitialPosition
Declaration
protected Rect InitialPosition { get; set; }
Property Value
System.Windows.Rect
|
Left
Declaration
public double Left { get; set; }
Property Value
System.Double
|
ResizeBorder
Declaration
public Thickness ResizeBorder { get; set; }
Property Value
System.Windows.Thickness
|
SizeToContent
Declaration
public bool SizeToContent { get; set; }
Property Value
System.Boolean
|
Top
Declaration
public double Top { get; set; }
Property Value
System.Double
|
WindowHeight
Declaration
public double WindowHeight { get; set; }
Property Value
System.Double
|
WindowResizeMode
WindowState
Declaration
public WindowState WindowState { get; set; }
Property Value
System.Windows.WindowState
|
WindowWidth
Declaration
public double WindowWidth { get; set; }
Property Value
System.Double
|
Methods
CoerceThumb(ThumbType)
Declaration
protected ThumbType CoerceThumb(ThumbType input)
Parameters
ThumbType
input
|
Returns
ThumbType
|
GenerateHitTestRectangles()
Declaration
protected Rect[] GenerateHitTestRectangles()
Returns
System.Windows.Rect[]
|
GetMaximumSize()
Declaration
protected virtual Size GetMaximumSize()
Returns
System.Windows.Size
|
MeasureOverride(Size)
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.Size
availableSize
|
Returns
System.Windows.Size
|
OnWindowPositionChanged()
Declaration
protected virtual void OnWindowPositionChanged()
OnWindowSizeChanged()
Declaration
protected virtual void OnWindowSizeChanged()
OnWindowStateChanged(WindowState)
Declaration
protected virtual void OnWindowStateChanged(WindowState oldState)
Parameters
System.Windows.WindowState
oldState
|
Resize(Rect)
Declaration
protected void Resize(Rect position)
Parameters
System.Windows.Rect
position
|
SetSizeAndPosition(Rect)
Declaration
protected void SetSizeAndPosition(Rect rect)
Parameters
System.Windows.Rect
rect
|
UpdatePosition(Rect)
Declaration
protected void UpdatePosition(Rect position)
Parameters
System.Windows.Rect
position
|