Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
QueryPropertyAttribute Class
Definition
- Namespace:
- Microsoft.Maui.Controls
- Assembly:
- Microsoft.Maui.Controls.dll
- Source:
- QueryPropertyAttribute.cs
- Source:
- QueryPropertyAttribute.cs
- Source:
- QueryPropertyAttribute.cs
- Source:
- QueryPropertyAttribute.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.
Maps a query parameter from a URI to a property on the target page or view model during Shell navigation.
public ref class QueryPropertyAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public class QueryPropertyAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type QueryPropertyAttribute = class
inherit Attribute
Public Class QueryPropertyAttribute
Inherits Attribute
- Inheritance
-
QueryPropertyAttribute
- Attributes
Constructors
| Name | Description |
|---|---|
| QueryPropertyAttribute(String, String) |
Creates a new QueryPropertyAttribute that maps a query parameter to a property. |
Properties
| Name | Description |
|---|---|
| Name |
Gets the name of the property that will receive the query parameter value. |
| QueryId |
Gets the query parameter name from the URI. |
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?
