SplitButtonCurrentButton Property |
Gets or sets the current PushButton of the SplitButton.
Namespace: Autodesk.Revit.UIAssembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic PushButton CurrentButton { get; set; }
Public Property CurrentButton As PushButton
Get
Set
public:
property PushButton^ CurrentButton {
PushButton^ get ();
void set (PushButton^ value);
}
member CurrentButton : PushButton with get, set
Property Value
PushButton
Exceptions
RemarksThis property is applicable only if IsSynchronizedWithCurrentItem is true.
The default value of this property will be the first enabled PushButton in the drop down list after the SplitButton is shown.
See Also