Skip to content

IPageService.GetPage() method

Defined in

Type: IPageService Namespace: CrissCross.Avalonia.UI Assembly: CrissCross.Avalonia.UI.dll

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net471

Overloads

  • 1. T? GetPage<T>() where T : class
  • 2. Control? GetPage(Type pageType)

1. Overload

T? GetPage<T>() where T : class

Summary: Takes a page of the given type.

Type parameters

NameDescription
TPage type.

Returns: T? -- Instance of the registered page service.

2. Overload

Control? GetPage(Type pageType)

Summary: Takes a page of the given type.

Parameters

NameTypeDescription
pageTypeTypePage type.

Returns: Control? -- Instance of the registered page service.