Share via


ListView.SetSeparatorStyle Method

Definition

Overloads

SetSeparatorStyle(BindableObject, SeparatorStyle)

Sets the separator style for a list view.

SetSeparatorStyle(IPlatformElementConfiguration<iOS,ListView>, SeparatorStyle)

Sets the separator style for a list view.

SetSeparatorStyle(BindableObject, SeparatorStyle)

Source:
ListView.cs
Source:
ListView.cs

Sets the separator style for a list view.

public:
 static void SetSeparatorStyle(Microsoft::Maui::Controls::BindableObject ^ element, Microsoft::Maui::Controls::PlatformConfiguration::iOSSpecific::SeparatorStyle value);
public static void SetSeparatorStyle (Microsoft.Maui.Controls.BindableObject element, Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.SeparatorStyle value);
static member SetSeparatorStyle : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.SeparatorStyle -> unit
Public Sub SetSeparatorStyle (element As BindableObject, value As SeparatorStyle)

Parameters

element
BindableObject

The list view element whose separator style to set

value
SeparatorStyle

The new separator style value.

Applies to

SetSeparatorStyle(IPlatformElementConfiguration<iOS,ListView>, SeparatorStyle)

Source:
ListView.cs
Source:
ListView.cs

Sets the separator style for a list view.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::ListView ^> ^ SetSeparatorStyle(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::ListView ^> ^ config, Microsoft::Maui::Controls::PlatformConfiguration::iOSSpecific::SeparatorStyle value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.ListView> SetSeparatorStyle (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.ListView> config, Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.SeparatorStyle value);
static member SetSeparatorStyle : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.ListView> * Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.SeparatorStyle -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.ListView>
<Extension()>
Public Function SetSeparatorStyle (config As IPlatformElementConfiguration(Of iOS, ListView), value As SeparatorStyle) As IPlatformElementConfiguration(Of iOS, ListView)

Parameters

config
IPlatformElementConfiguration<iOS,ListView>

The platform configuration for the list view element whose separator style to set.

value
SeparatorStyle

The new separator style value.

Returns

A fluent object on which the developer can make further method calls.

Applies to