KaxToolBarSplitButtonButtons Property |
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public KaxToolBarButtonCollection Buttons { get; }
<PersistenceModeAttribute(PersistenceMode.InnerProperty)>
Public ReadOnly Property Buttons As KaxToolBarButtonCollection
Get
public:
[PersistenceModeAttribute(PersistenceMode::InnerProperty)]
virtual property KaxToolBarButtonCollection^ Buttons {
KaxToolBarButtonCollection^ get () sealed;
}
[<PersistenceModeAttribute(PersistenceMode.InnerProperty)>]
abstract Buttons : KaxToolBarButtonCollection with get
[<PersistenceModeAttribute(PersistenceMode.InnerProperty)>]
override Buttons : KaxToolBarButtonCollection with get
Property Value
Type:
KaxToolBarButtonCollection
A
KaxToolBarButtonCollection that contains the
child buttons of the split button. By default the collection is empty (the split button has
no buttons).
Implements
IKaxToolBarButtonContainerButtons
Remarks
Use the Buttons property to access the child buttons of the split button.
You can also use the Buttons property to manage the children of the
current tab. You can add, remove or modify buttons from the Buttons collection.
Examples
The following example demonstrates how to programmatically modify the properties of child buttons.
registerPurchaseSplitButton.Buttons[0].Text = "Cache Purchase";
registerPurchaseSplitButton.Buttons[0].ImageUrl = "~/ToolBarImages/RegisterCachePurchase.gif";
registerPurchaseSplitButton.Buttons[1].Text = "Check Purchase";
registerPurchaseSplitButton.Buttons[1].ImageUrl = "~/ToolBarImages/RegisterCheckPurchase.gif";
registerPurchaseSplitButton.Buttons[0].Text = "Cache Purchase"
registerPurchaseSplitButton.Buttons[0].ImageUrl = "~/ToolBarImages/RegisterCachePurchase.gif"
registerPurchaseSplitButton.Buttons[1].Text = "Check Purchase"
registerPurchaseSplitButton.Buttons[1].ImageUrl = "~/ToolBarImages/RegisterCheckPurchase.gif"
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also