Share via


MasterDetailPage.SetCollapseStyle Method

Definition

Overloads

SetCollapseStyle(BindableObject, CollapseStyle)

Sets a value that controls whether panes collapses fully or partially.

SetCollapseStyle(IPlatformElementConfiguration<Windows,MasterDetailPage>, CollapseStyle)

Sets a value that controls whether panes collapses fully or partially.

SetCollapseStyle(BindableObject, CollapseStyle)

Sets a value that controls whether panes collapses fully or partially.

public static void SetCollapseStyle (Xamarin.Forms.BindableObject element, Xamarin.Forms.PlatformConfiguration.WindowsSpecific.CollapseStyle collapseStyle);
static member SetCollapseStyle : Xamarin.Forms.BindableObject * Xamarin.Forms.PlatformConfiguration.WindowsSpecific.CollapseStyle -> unit

Parameters

element
BindableObject

The platform specific element on which to perform the operation.

collapseStyle
CollapseStyle

The new collapse style.

Applies to

SetCollapseStyle(IPlatformElementConfiguration<Windows,MasterDetailPage>, CollapseStyle)

Sets a value that controls whether panes collapses fully or partially.

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows,Xamarin.Forms.MasterDetailPage> SetCollapseStyle (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows,Xamarin.Forms.MasterDetailPage> config, Xamarin.Forms.PlatformConfiguration.WindowsSpecific.CollapseStyle value);
static member SetCollapseStyle : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows, Xamarin.Forms.MasterDetailPage> * Xamarin.Forms.PlatformConfiguration.WindowsSpecific.CollapseStyle -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows, Xamarin.Forms.MasterDetailPage>

Parameters

config
IPlatformElementConfiguration<Windows,MasterDetailPage>

The platform specific configuration that contains the element on which to perform the operation.

value
CollapseStyle

The new property value to assign.

Returns

The updated configuration object on which developers can make successive method calls.

Applies to