Sdílet prostřednictvím


RibbonGroup Class

Applies to v2.

Represents a group on the ribbon.

Inheritance Hierarchy

System.Object
  Microsoft.WebMatrix.Extensibility.RibbonItem
    Microsoft.WebMatrix.Extensibility.RibbonGroup

Namespace:  Microsoft.WebMatrix.Extensibility
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Public Class RibbonGroup _
    Inherits RibbonItem _
    Implements INotifyPropertyChanged
'Usage
Dim instance As RibbonGroup
public class RibbonGroup : RibbonItem, 
    INotifyPropertyChanged
public ref class RibbonGroup : public RibbonItem, 
    INotifyPropertyChanged
type RibbonGroup =  
    class 
        inherit RibbonItem 
        interface INotifyPropertyChanged 
    end
public class RibbonGroup extends RibbonItem implements INotifyPropertyChanged

The RibbonGroup type exposes the following members.

Constructors

  Name Description
Public method RibbonGroup(String, IEnumerable<RibbonItem>) Initializes a new instance of the RibbonGroup class.
Public method RibbonGroup(String, IEnumerable<RibbonItem>, ImageSource) Initializes a new instance of the RibbonGroup class.

Top

Properties

  Name Description
Public property Icon Gets a 32x32 icon for the group.
Public property IsVisible Gets or sets a value indicating whether the group is visible.
Public property Items Gets a sequence of RibbonItem instances.
Public property Label Gets a label for the item. (Inherited from RibbonItem.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Events

  Name Description
Public event PropertyChanged Occurs when a property changes value.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.WebMatrix.Extensibility Namespace