Skip to main content

BarItemCollection Members

A collection of items in the Rich Text Editor‘s ribbon group or toolbar group.

Properties

Name Description
Count Returns the number of items in the collection. Inherited from BarItemCollectionBase<T>.
Item[Int32] Returns a bar item by its index. Inherited from BarItemCollectionBase<T>.
Item[String] Returns a bar item by its name. Inherited from BarItemCollectionBase<T>.

Methods

Name Description
Add(Int32, String) Adds a predefined item to the specified position in the ribbon or toolbar.
Add(String) Adds a predefined item to the ribbon or toolbar.
AddCustomButton(Int32, String, Func<Task>) Adds a custom button to the specified position in the bar item collection.
AddCustomButton(String, Func<Task>) Adds a custom button to the end of the bar item collection.
AddCustomCheckButton(Int32, String, Func<Task>, Func<Boolean>) Adds a custom check button to the specified position in the bar item collection.
AddCustomCheckButton(String, Func<Task>, Func<Boolean>) Adds a custom check button to the end of the bar item collection.
AddCustomColorEdit(Func<Color>, Func<Color, Task>, Func<Task>) Adds a custom color editor to the end of the bar item collection.
AddCustomColorEdit(Int32, Func<Color>, Func<Color, Task>, Func<Task>) Adds a custom color editor to the specified position in the bar item collection.
AddCustomComboBox(Func<Object>, Func<Object, Task>) Adds a custom combobox editor to the end of the bar item collection.
AddCustomComboBox(Int32, Func<Object>, Func<Object, Task>) Adds a custom combobox editor to the specified position in the bar item collection.
AddCustomDropDown(Int32, String) Adds a custom drop-down editor to the specified position in the bar item collection.
AddCustomDropDown(String) Adds a custom drop-down editor to the end of the bar item collection.
AddCustomSpinEdit(Func<Decimal>, Func<Decimal, Task>) Adds a custom spin editor to the end of the bar item collection.
AddCustomSpinEdit(Int32, Func<Decimal>, Func<Decimal, Task>) Adds a custom spin editor to the specified position in the bar item collection.
Clear() Removes all tabs, groups, or items from a tab, group, or item collection. Inherited from BarItemCollectionBase<T>.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Remove(Int32) Removes a tab, group, or item with the specified index from a tab, group, or item collection. Inherited from BarItemCollectionBase<T>.
Remove(String) Removes a tab, group, or item with the specified name from a tab, group, or item collection. Inherited from BarItemCollectionBase<T>.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also