Class ListBoxStyle
- Namespace
- Myra.Graphics2D.UI.Styles
- Assembly
- Myra.dll
Style class that defines the visual appearance of list box widgets.
public class ListBoxStyle : WidgetStyle
- Inheritance
-
ListBoxStyle
- Inherited Members
Constructors
ListBoxStyle()
Initializes a new instance of the ListBoxStyle class.
public ListBoxStyle()
ListBoxStyle(ListBoxStyle)
Initializes a new instance of the ListBoxStyle class by copying properties from another style.
public ListBoxStyle(ListBoxStyle style)
Parameters
styleListBoxStyleThe source list box style to copy from.
Properties
ListItemStyle
Gets or sets the style applied to list box items.
[Browsable(false)]
public ButtonStyle ListItemStyle { get; set; }
Property Value
SeparatorStyle
Gets or sets the style applied to separator lines between list items.
[Browsable(false)]
public SeparatorStyle SeparatorStyle { get; set; }
Property Value
Methods
Clone()
Creates a deep copy of this list box style.
public override WidgetStyle Clone()
Returns
- WidgetStyle
A new ListBoxStyle instance with the same properties.