Language

ShellContent.QueryParameters Property

Definition

Gets the query parameters supplied to this content's page when the content is selected.

public:
 property System::Collections::Generic::IList<Microsoft::Maui::Controls::ShellContentQueryParameter ^> ^ QueryParameters { System::Collections::Generic::IList<Microsoft::Maui::Controls::ShellContentQueryParameter ^> ^ get(); };
public System.Collections.Generic.IList<Microsoft.Maui.Controls.ShellContentQueryParameter> QueryParameters { get; }
member this.QueryParameters : System.Collections.Generic.IList<Microsoft.Maui.Controls.ShellContentQueryParameter>
Public ReadOnly Property QueryParameters As IList(Of ShellContentQueryParameter)

Property Value

Remarks

Changes to this collection or its parameters are applied immediately when this content is selected, or the next time it is selected otherwise. Values in this collection take precedence over QueryString. Parameters supplied to Shell navigation take precedence for that navigation; selecting the content again reapplies its declarative parameters. Parameters are logical children of this content, so they support inherited binding contexts, dynamic resources, relative-source ancestor bindings, and parent-scoped XAML references. A parameter instance can occur more than once in this collection, but it cannot be shared with another ShellContent.

Applies to