WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RibbonGalleryGroup

    Show / Hide Table of Contents

    Class RibbonGalleryGroup

    Represents a RibbonGalleryGroup control.

    Inheritance
    System.Object
    RibbonGalleryGroup
    Implements
    System.IDisposable
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class RibbonGalleryGroup : Control, IDisposable
    Remarks

    RibbonGalleryGroup class represents a control that can display collection of UIElements in multiple rows inside RibbonGallery control.

    Examples

    This example shows how to create a ButtonPanel in XAML.

    <ribbon:RibbonGalleryGroup Label="First group">
    <ribbon:RibbonGalleryItem>
    <Image Source="SampleImages/Apex.png"/>
    </ribbon:RibbonGalleryItem>
    <Image Source="SampleImages/Apex.png"/>
    <Image Source="SampleImages/Aspect.png"/>
    </ribbon:RibbonGalleryGroup>

    This example shows how to create a RibbonGalleryGroup in C#.

        
    RibbonGalleryGroup galleryGroup = new RibbonGalleryGroup();
    TextBlock text = new TextBlock();
    text.Text = "Item";
    galleryGroup.Items.Add(text);

    Constructors

    RibbonGalleryGroup()

    Initializes a new instance of the RibbonGalleryGroup class.

    Declaration
    public RibbonGalleryGroup()

    Fields

    ItemsProperty

    Defines the collection of gallery group items. This is a dependency property.

    Declaration
    public static readonly DependencyProperty ItemsProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    LabelProperty

    Defines the label of the gallery group. This is a dependency property.

    Declaration
    public static readonly DependencyProperty LabelProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    Items

    Gets or sets the items.

    Declaration
    public ObservableCollection<object> Items { get; set; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ObservableCollection<System.Object>

    The items.

    Label

    Gets or sets the label of the gallery group.

    Declaration
    public string Label { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    Dispose()

    Declaration
    public void Dispose()

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved