Skip to content

IPageService.GetPage() method

Defined in

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

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

Overloads

  • 1. T? GetPage<T>() where T : class
  • 2. FrameworkElement? 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

FrameworkElement? GetPage(Type pageType)

Summary: Takes a page of the given type.

Parameters

NameTypeDescription
pageTypeTypePage type.

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