Class PartElement
public class PartElement : ApiDataContext, IDisposable, IDataContext, IDataContextReadonly, IDataContextWritable
- Inheritance
-
PartElement
- Implements
- Inherited Members
- Extension Methods
Constructors
PartElement(IInteractivePart, PropertyReadonly<KSPActionGroup>, Action)
public PartElement(IInteractivePart part, PropertyReadonly<KSPActionGroup> selectedActionGroupProperty, Action onChange)
Parameters
partIInteractivePartselectedActionGroupPropertyPropertyReadonly<KSPActionGroup>onChangeAction
Fields
ActionGroupActions
[DataList("ActionsList")]
public ContextListProperty<ActionGroupActionElement> ActionGroupActions
Field Value
ActionsCount
[DataProperty("ActionsCount")]
public PropertyReadonly<int> ActionsCount
Field Value
DisplayName
[DataProperty("DisplayName")]
public PropertyReadonly<string> DisplayName
Field Value
Guid
[DataProperty("GUID")]
public PropertyReadonly<IGGuid> Guid
Field Value
HasActions
[DataProperty("HasActions")]
public PropertyReadonly<bool> HasActions
Field Value
HasSelectedActions
[DataProperty("HasSelectedActions")]
public PropertyReadonly<bool> HasSelectedActions
Field Value
IsHighlighted
[DataProperty("IsHighlighted")]
public Property<bool> IsHighlighted
Field Value
SelectedActionsCount
[DataProperty("SelectedActionsCount")]
public PropertyReadonly<int> SelectedActionsCount
Field Value
Methods
UpdateElement(IInteractivePart, PropertyReadonly<KSPActionGroup>)
public void UpdateElement(IInteractivePart part, PropertyReadonly<KSPActionGroup> selectedActionGroupProperty)
Parameters
partIInteractivePartselectedActionGroupPropertyPropertyReadonly<KSPActionGroup>