Skip to main content

OffscreenTopLevelImplBase Class

Definition

Assembly:Avalonia.Controls
Package:Avalonia
public class OffscreenTopLevelImplBase

Inheritance: object -> OffscreenTopLevelImplBase

Implements: IOptionalFeatureProvider, ITopLevelImpl, IDisposable

Constructors

NameDescription
OffscreenTopLevelImplBaseNo summary available.

OffscreenTopLevelImplBase Constructor

public OffscreenTopLevelImplBase()

Methods

NameDescription
CreatePopupNo summary available.
DisposeNo summary available.
PointToClientNo summary available.
PointToScreenNo summary available.
SetCursorNo summary available.
SetFrameThemeVariantNo summary available.
SetInputRootNo summary available.
SetTransparencyLevelHintNo summary available.
TryGetFeatureNo summary available.

CreatePopup Method

public Avalonia.Platform.IPopupImpl CreatePopup()

Returns

Avalonia.Platform.IPopupImpl

Dispose Method

public void Dispose()

PointToClient Method

public Avalonia.Point PointToClient(Avalonia.PixelPoint point)

Parameters

point Avalonia.PixelPoint

Returns

Avalonia.Point

PointToScreen Method

public Avalonia.PixelPoint PointToScreen(Avalonia.Point point)

Parameters

point Avalonia.Point

Returns

Avalonia.PixelPoint

SetCursor Method

public void SetCursor(Avalonia.Platform.ICursorImpl cursor)

Parameters

cursor Avalonia.Platform.ICursorImpl

SetFrameThemeVariant Method

public void SetFrameThemeVariant(Avalonia.Platform.PlatformThemeVariant themeVariant)

Parameters

themeVariant Avalonia.Platform.PlatformThemeVariant

SetInputRoot Method

public void SetInputRoot(Avalonia.Input.IInputRoot inputRoot)

Parameters

inputRoot Avalonia.Input.IInputRoot

SetTransparencyLevelHint Method

public void SetTransparencyLevelHint(System.Collections.Generic.IReadOnlyList<Avalonia.Controls.WindowTransparencyLevel> transparencyLevel)

Parameters

transparencyLevel System.Collections.Generic.IReadOnlyList<Avalonia.Controls.WindowTransparencyLevel>

TryGetFeature Method

public object TryGetFeature(Type featureType)

Parameters

featureType Type

Returns

object

Properties

NameDescription
AcrylicCompensationLevelsNo summary available.
ClientSizeNo summary available.
ClosedNo summary available.
CompositorNo summary available.
DesktopScalingNo summary available.
FrameSizeNo summary available.
HandleNo summary available.
InputNo summary available.
InputRootNo summary available.
IsDisposedNo summary available.
LostFocusNo summary available.
MouseDeviceNo summary available.
PaintNo summary available.
RenderScalingNo summary available.
ResizedNo summary available.
ScalingChangedNo summary available.
SurfacesNo summary available.
TransparencyLevelNo summary available.
TransparencyLevelChangedNo summary available.

AcrylicCompensationLevels Property

public Avalonia.Controls.AcrylicPlatformCompensationLevels AcrylicCompensationLevels { get; set; }

ClientSize Property

public Avalonia.Size ClientSize { get; set; }

Closed Property

public Action Closed { get; set; }

Compositor Property

public Avalonia.Rendering.Composition.Compositor Compositor { get; set; }

DesktopScaling Property

public double DesktopScaling { get; set; }

FrameSize Property

public Nullable<Avalonia.Size> FrameSize { get; set; }

Handle Property

public Avalonia.Platform.IPlatformHandle Handle { get; set; }

Input Property

public Action<Avalonia.Input.Raw.RawInputEventArgs> Input { get; set; }

InputRoot Property

public Avalonia.Input.IInputRoot InputRoot { get; set; }

IsDisposed Property

public bool IsDisposed { get; set; }

LostFocus Property

public Action LostFocus { get; set; }

MouseDevice Property

public Avalonia.Input.IMouseDevice MouseDevice { get; set; }

Paint Property

public Action<Avalonia.Rect> Paint { get; set; }

RenderScaling Property

public double RenderScaling { get; set; }

Resized Property

public Action<Avalonia.Size, Avalonia.Controls.WindowResizeReason> Resized { get; set; }

ScalingChanged Property

public Action<double> ScalingChanged { get; set; }

Surfaces Property

public Avalonia.Platform.Surfaces.IPlatformRenderSurface[] Surfaces { get; set; }

TransparencyLevel Property

public Avalonia.Controls.WindowTransparencyLevel TransparencyLevel { get; set; }

TransparencyLevelChanged Property

public Action<Avalonia.Controls.WindowTransparencyLevel> TransparencyLevelChanged { get; set; }