ShellContent.QueryParameters Property
Definition
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.
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.