Share via


FlyoutPage.SetCollapseStyle Method

Definition

Overloads

Name Description
SetCollapseStyle(BindableObject, CollapseStyle)

Sets the collapse style for the flyout pane on Windows.

SetCollapseStyle(IPlatformElementConfiguration<Windows,FlyoutPage>, CollapseStyle)

Sets the collapse style for the flyout pane on Windows.

SetCollapseStyle(BindableObject, CollapseStyle)

Source:
FlyoutPage.cs
Source:
FlyoutPage.cs
Source:
FlyoutPage.cs
Source:
FlyoutPage.cs

Sets the collapse style for the flyout pane on Windows.

public:
 static void SetCollapseStyle(Microsoft::Maui::Controls::BindableObject ^ element, Microsoft::Maui::Controls::PlatformConfiguration::WindowsSpecific::CollapseStyle collapseStyle);
public static void SetCollapseStyle(Microsoft.Maui.Controls.BindableObject element, Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.CollapseStyle collapseStyle);
static member SetCollapseStyle : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.CollapseStyle -> unit
Public Sub SetCollapseStyle (element As BindableObject, collapseStyle As CollapseStyle)

Parameters

element
BindableObject

The element to set the collapse style on.

collapseStyle
CollapseStyle

The collapse style to set.

Applies to

SetCollapseStyle(IPlatformElementConfiguration<Windows,FlyoutPage>, CollapseStyle)

Source:
FlyoutPage.cs
Source:
FlyoutPage.cs
Source:
FlyoutPage.cs
Source:
FlyoutPage.cs

Sets the collapse style for the flyout pane on Windows.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Windows ^, Microsoft::Maui::Controls::FlyoutPage ^> ^ SetCollapseStyle(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Windows ^, Microsoft::Maui::Controls::FlyoutPage ^> ^ config, Microsoft::Maui::Controls::PlatformConfiguration::WindowsSpecific::CollapseStyle value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows,Microsoft.Maui.Controls.FlyoutPage> SetCollapseStyle(this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows,Microsoft.Maui.Controls.FlyoutPage> config, Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.CollapseStyle value);
static member SetCollapseStyle : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows, Microsoft.Maui.Controls.FlyoutPage> * Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.CollapseStyle -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows, Microsoft.Maui.Controls.FlyoutPage>
<Extension()>
Public Function SetCollapseStyle (config As IPlatformElementConfiguration(Of Windows, FlyoutPage), value As CollapseStyle) As IPlatformElementConfiguration(Of Windows, FlyoutPage)

Parameters

config
IPlatformElementConfiguration<Windows,FlyoutPage>

The platform configuration.

value
CollapseStyle

The collapse style to set.

Returns

The updated platform configuration.

Applies to