Class
WindowPresenterBase

Definition

Namespace:Telerik.UI.Xaml.Controls.InternalWindow

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class WindowPresenterBase : ContentPresenter

Inheritance: objectWindowPresenterBase

Constructors

WindowPresenterBase(IDragAware)

Initializes a new instance of the WindowPresenterBase class.

Declaration

cs-api-definition
public WindowPresenterBase(IDragAware windowHost)

Parameters

windowHost

IDragAware

Fields

CaptionHeightProperty

Declaration

cs-api-definition
public static readonly DependencyProperty CaptionHeightProperty

Field Value

DependencyProperty

LeftProperty

Declaration

cs-api-definition
public static readonly DependencyProperty LeftProperty

Field Value

DependencyProperty

ResizeBorderProperty

Declaration

cs-api-definition
public static readonly DependencyProperty ResizeBorderProperty

Field Value

DependencyProperty

SizeToContentProperty

Declaration

cs-api-definition
public static readonly DependencyProperty SizeToContentProperty

Field Value

DependencyProperty

TopProperty

Declaration

cs-api-definition
public static readonly DependencyProperty TopProperty

Field Value

DependencyProperty

WindowHeightProperty

Declaration

cs-api-definition
public static readonly DependencyProperty WindowHeightProperty

Field Value

DependencyProperty

WindowResizeModeProperty

Declaration

cs-api-definition
public static readonly DependencyProperty WindowResizeModeProperty

Field Value

DependencyProperty

WindowStateProperty

Declaration

cs-api-definition
public static readonly DependencyProperty WindowStateProperty

Field Value

DependencyProperty

WindowWidthProperty

Declaration

cs-api-definition
public static readonly DependencyProperty WindowWidthProperty

Field Value

DependencyProperty

Properties

CaptionHeight

Declaration

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

Property Value

double

DragAware

Declaration

cs-api-definition
public IDragAware DragAware { get; }

Property Value

IDragAware

InitialPosition

Declaration

cs-api-definition
protected Rect InitialPosition { get; set; }

Property Value

Rect

Left

Declaration

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

Property Value

double

ResizeBorder

Declaration

cs-api-definition
public Thickness ResizeBorder { get; set; }

Property Value

Thickness

SizeToContent

Declaration

cs-api-definition
public bool SizeToContent { get; set; }

Property Value

bool

Top

Declaration

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

Property Value

double

WindowHeight

Declaration

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

Property Value

double

WindowResizeMode

Declaration

cs-api-definition
public ResizeMode WindowResizeMode { get; set; }

Property Value

ResizeMode

WindowState

Declaration

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

Property Value

WindowState

WindowWidth

Declaration

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

Property Value

double

Methods

CoerceThumb(ThumbType)

Declaration

cs-api-definition
protected ThumbType CoerceThumb(ThumbType input)

Parameters

input

ThumbType

Returns

ThumbType

GenerateHitTestRectangles()

Declaration

cs-api-definition
protected Rect[] GenerateHitTestRectangles()

Returns

Rect[]

GetMaximumSize()

Declaration

cs-api-definition
protected virtual Size GetMaximumSize()

Returns

Size

MeasureOverride(Size)

Declaration

cs-api-definition
protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize

Size

Returns

Size

OnWindowPositionChanged()

Declaration

cs-api-definition
protected virtual void OnWindowPositionChanged()

OnWindowSizeChanged()

Declaration

cs-api-definition
protected virtual void OnWindowSizeChanged()

OnWindowStateChanged(WindowState)

Declaration

cs-api-definition
protected virtual void OnWindowStateChanged(WindowState oldState)

Parameters

oldState

WindowState

Resize(Rect)

Declaration

cs-api-definition
protected void Resize(Rect position)

Parameters

position

Rect

SetSizeAndPosition(Rect)

Declaration

cs-api-definition
protected void SetSizeAndPosition(Rect rect)

Parameters

rect

Rect

UpdatePosition(Rect)

Declaration

cs-api-definition
protected void UpdatePosition(Rect position)

Parameters

position

Rect