Interface ISegment
Interface for Forms9Patch.Segment elements
Inherited Members
Namespace: Forms9Patch
Assembly: Forms9Patch.dll
Syntax
public interface ISegment : IMenuItem
Properties
Command
Command to be invoked upon segment being clicked
Declaration
ICommand Command { get; set; }
Property Value
| Type | Description |
|---|---|
| ICommand |
CommandParameter
Parameter passed with command that is invoked when segment is clicked
Declaration
object CommandParameter { get; set; }
Property Value
| Type | Description |
|---|---|
| Object |
FontAttributes
Segment's label's font attributes
Declaration
FontAttributes FontAttributes { get; set; }
Property Value
| Type | Description |
|---|---|
| FontAttributes |
IsEnabled
Is segment enabled?
Declaration
bool IsEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
IsSelected
Is segment selected
Declaration
bool IsSelected { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Orientation
Orientation of Segemnt's icon to its text
Declaration
StackOrientation Orientation { get; set; }
Property Value
| Type | Description |
|---|---|
| StackOrientation |
TextColor
TextColor
Declaration
Color TextColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
VisualElement
Gets the VisualElement used for the Segment
Declaration
VisualElement VisualElement { get; }
Property Value
| Type | Description |
|---|---|
| VisualElement |