Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
StaticExtension Class
Definition
- Namespace:
- Microsoft.Maui.Controls.Xaml
- Assembly:
- Microsoft.Maui.Controls.Xaml.dll
- Source:
- StaticExtension.cs
- Source:
- StaticExtension.cs
- Source:
- StaticExtension.cs
- Source:
- StaticExtension.cs
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a XAML markup extension that returns the value of a static field or property.
public ref class StaticExtension : Microsoft::Maui::Controls::Xaml::IMarkupExtension
[Microsoft.Maui.Controls.ContentProperty("Member")]
[Microsoft.Maui.Controls.Xaml.RequireService(new System.Type[] { typeof(Microsoft.Maui.Controls.Xaml.IXamlTypeResolver) })]
public class StaticExtension : Microsoft.Maui.Controls.Xaml.IMarkupExtension
[Microsoft.Maui.Controls.ContentProperty("Member")]
public class StaticExtension : Microsoft.Maui.Controls.Xaml.IMarkupExtension
[<Microsoft.Maui.Controls.ContentProperty("Member")>]
[<Microsoft.Maui.Controls.Xaml.RequireService(new System.Type[] { typeof(Microsoft.Maui.Controls.Xaml.IXamlTypeResolver) })>]
type StaticExtension = class
interface IMarkupExtension
[<Microsoft.Maui.Controls.ContentProperty("Member")>]
type StaticExtension = class
interface IMarkupExtension
Public Class StaticExtension
Implements IMarkupExtension
- Inheritance
-
StaticExtension
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| StaticExtension() | |
Properties
| Name | Description |
|---|---|
| Member |
Gets or sets the name of the static member in the form [prefix:]typeName.memberName. |
Methods
| Name | Description |
|---|---|
| ProvideValue(IServiceProvider) | |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
Was this page helpful?
