skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class WindowPresenterBase

Inheritance
System.Object
WindowPresenterBase
Namespace: Telerik.UI.Xaml.Controls.InternalWindow
Assembly: Telerik.WinUI.Controls.dll

Syntax

public class WindowPresenterBase : ContentPresenter

Constructors

WindowPresenterBase(IDragAware)

Declaration
public WindowPresenterBase(IDragAware windowHost)
Parameters
IDragAware windowHost

Fields

CaptionHeightProperty

Declaration
public static readonly DependencyProperty CaptionHeightProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

LeftProperty

Declaration
public static readonly DependencyProperty LeftProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

ResizeBorderProperty

Declaration
public static readonly DependencyProperty ResizeBorderProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

SizeToContentProperty

Declaration
public static readonly DependencyProperty SizeToContentProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

TopProperty

Declaration
public static readonly DependencyProperty TopProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

WindowHeightProperty

Declaration
public static readonly DependencyProperty WindowHeightProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

WindowResizeModeProperty

Declaration
public static readonly DependencyProperty WindowResizeModeProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

WindowStateProperty

Declaration
public static readonly DependencyProperty WindowStateProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

WindowWidthProperty

Declaration
public static readonly DependencyProperty WindowWidthProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

Properties

CaptionHeight

Declaration
public double CaptionHeight { get; set; }
Property Value
System.Double

DragAware

Declaration
public IDragAware DragAware { get; }
Property Value
IDragAware

InitialPosition

Declaration
protected Rect InitialPosition { get; set; }
Property Value
Windows.Foundation.Rect

Left

Declaration
public double Left { get; set; }
Property Value
System.Double

ResizeBorder

Declaration
public Thickness ResizeBorder { get; set; }
Property Value
Microsoft.UI.Xaml.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

Declaration
public ResizeMode WindowResizeMode { get; set; }
Property Value
ResizeMode

WindowState

Declaration
public WindowState WindowState { get; set; }
Property Value
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
Windows.Foundation.Rect[]

GetMaximumSize()

Declaration
protected virtual Size GetMaximumSize()
Returns
Windows.Foundation.Size

MeasureOverride(Size)

Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Windows.Foundation.Size availableSize

Returns
Windows.Foundation.Size

OnWindowPositionChanged()

Declaration
protected virtual void OnWindowPositionChanged()

OnWindowSizeChanged()

Declaration
protected virtual void OnWindowSizeChanged()

OnWindowStateChanged(WindowState)

Declaration
protected virtual void OnWindowStateChanged(WindowState oldState)
Parameters
WindowState oldState

Resize(Rect)

Declaration
protected void Resize(Rect position)
Parameters
Windows.Foundation.Rect position

SetSizeAndPosition(Rect)

Declaration
protected void SetSizeAndPosition(Rect rect)
Parameters
Windows.Foundation.Rect rect

UpdatePosition(Rect)

Declaration
protected void UpdatePosition(Rect position)
Parameters
Windows.Foundation.Rect position

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
Support Resources
  • Knowledge Base
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.