menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class OptionButtonCollection - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class OptionButtonCollection

    Represents worksheet's OptionButton collection.

    Inheritance
    System.Object
    CollectionBase<System.Object>
    CollectionBaseEx<System.Object>
    OptionButtonCollection
    Implements
    System.Collections.Generic.IList<System.Object>
    System.Collections.Generic.ICollection<System.Object>
    System.Collections.Generic.IEnumerable<System.Object>
    System.Collections.IEnumerable
    IParentApplication
    ICloneParent
    IOptionButtons
    Inherited Members
    CollectionBase<Object>.Add(Object)
    CollectionBase<Object>.Capacity
    CollectionBase<Object>.Clear()
    CollectionBase<Object>.Contains(Object)
    CollectionBase<Object>.CopyTo(Object[], Int32)
    CollectionBase<Object>.Count
    CollectionBase<Object>.GetEnumerator()
    CollectionBase<Object>.IndexOf(Object)
    CollectionBase<Object>.InnerList
    CollectionBase<Object>.Insert(Int32, Object)
    CollectionBase<Object>.IsReadOnly
    CollectionBase<Object>.List
    CollectionBase<Object>.Remove(Object)
    CollectionBase<Object>.RemoveAt(Int32)
    CollectionBaseEx<Object>.add_Cleared(CollectionBaseEx.CollectionClear<>)
    CollectionBaseEx<Object>.add_Clearing(CollectionBaseEx.CollectionClear<>)
    CollectionBaseEx<Object>.add_Inserted(CollectionBaseEx.CollectionChange<>)
    CollectionBaseEx<Object>.add_Inserting(CollectionBaseEx.CollectionChange<>)
    CollectionBaseEx<Object>.add_Removed(CollectionBaseEx.CollectionChange<>)
    CollectionBaseEx<Object>.add_Removing(CollectionBaseEx.CollectionChange<>)
    CollectionBaseEx<Object>.add_Set(CollectionBaseEx.CollectionSet<>)
    CollectionBaseEx<Object>.add_Setting(CollectionBaseEx.CollectionSet<>)
    CollectionBaseEx<Object>.AppImplementation
    CollectionBaseEx<Object>.Application
    CollectionBaseEx<Object>.Changed
    CollectionBaseEx<Object>.ChangeName(IDictionary, ValueChangedEventArgs)
    CollectionBaseEx<Object>.Cleared
    CollectionBaseEx<Object>.Clearing
    CollectionBaseEx<Object>.ClearMaxValues()
    CollectionBaseEx<Object>.Clone(Object)
    CollectionBaseEx<Object>.EnsureCapacity(Int32)
    CollectionBaseEx<Object>.FindParent(Type)
    CollectionBaseEx<Object>.FindParent(Type, Boolean)
    CollectionBaseEx<Object>.GenerateDefaultName(ICollection<Object>, String)
    CollectionBaseEx<Object>.GenerateDefaultName(ICollection, String)
    CollectionBaseEx<Object>.GenerateDefaultName(String, ICollection[])
    CollectionBaseEx<Object>.Inserted
    CollectionBaseEx<Object>.Inserting
    CollectionBaseEx<Object>.OnClear()
    CollectionBaseEx<Object>.OnClearComplete()
    CollectionBaseEx<Object>.OnInsert(Int32, Object)
    CollectionBaseEx<Object>.OnInsertComplete(Int32, Object)
    CollectionBaseEx<Object>.OnRemove(Int32, Object)
    CollectionBaseEx<Object>.OnRemoveComplete(Int32, Object)
    CollectionBaseEx<Object>.OnSet(Int32, Object, Object)
    CollectionBaseEx<Object>.OnSetComplete(Int32, Object, Object)
    CollectionBaseEx<Object>.Parent
    CollectionBaseEx<Object>.QuietMode
    CollectionBaseEx<Object>.remove_Cleared(CollectionBaseEx.CollectionClear<>)
    CollectionBaseEx<Object>.remove_Clearing(CollectionBaseEx.CollectionClear<>)
    CollectionBaseEx<Object>.remove_Inserted(CollectionBaseEx.CollectionChange<>)
    CollectionBaseEx<Object>.remove_Inserting(CollectionBaseEx.CollectionChange<>)
    CollectionBaseEx<Object>.remove_Removed(CollectionBaseEx.CollectionChange<>)
    CollectionBaseEx<Object>.remove_Removing(CollectionBaseEx.CollectionChange<>)
    CollectionBaseEx<Object>.remove_Set(CollectionBaseEx.CollectionSet<>)
    CollectionBaseEx<Object>.remove_Setting(CollectionBaseEx.CollectionSet<>)
    CollectionBaseEx<Object>.Removed
    CollectionBaseEx<Object>.Removing
    CollectionBaseEx<Object>.Set
    CollectionBaseEx<Object>.SetParent(Object)
    CollectionBaseEx<Object>.Setting
    Namespace: Syncfusion.XlsIO.Implementation.Collections
    Assembly: Syncfusion.XlsIO.UWP.dll
    Syntax
    public class OptionButtonCollection : CollectionBaseEx<object>, IList<object>, ICollection<object>, IEnumerable<object>, IEnumerable, IParentApplication, ICloneParent, IOptionButtons

    Constructors

    OptionButtonCollection(IApplication, Object)

    Initializes new instance of the collection.

    Declaration
    public OptionButtonCollection(IApplication application, object parent)
    Parameters
    Type Name Description
    IApplication application

    Application object for the new instance.

    System.Object parent

    Parent object for the new instance.

    Fields

    AverageHeight

    Average height

    Declaration
    public const int AverageHeight = 20
    Field Value
    Type
    System.Int32

    AverageWidth

    Average width

    Declaration
    public const int AverageWidth = 140
    Field Value
    Type
    System.Int32

    Properties

    Item[Int32]

    Returns single item from the collection.

    Declaration
    public IOptionButtonShape this[int index] { get; }
    Parameters
    Type Name Description
    System.Int32 index

    Index of the item to get.

    Property Value
    Type Description
    IOptionButtonShape

    Single item from the collection.

    Item[String]

    Gets single item from the collection.

    Declaration
    public IOptionButtonShape this[string name] { get; }
    Parameters
    Type Name Description
    System.String name

    Name of the item to get.

    Property Value
    Type Description
    IOptionButtonShape

    Single item from the collection.

    Methods

    AddOptionButton()

    Adds Option button default Dimension

    Declaration
    public IOptionButtonShape AddOptionButton()
    Returns
    Type Description
    IOptionButtonShape

    returns option button shape

    AddOptionButton(IOptionButtonShape)

    Adds new item to the collection.

    Declaration
    public void AddOptionButton(IOptionButtonShape optionButton)
    Parameters
    Type Name Description
    IOptionButtonShape optionButton

    OptionButton to add.

    AddOptionButton(Int32, Int32)

    Adds the Shape with default size

    Declaration
    public IOptionButtonShape AddOptionButton(int row, int column)
    Parameters
    Type Name Description
    System.Int32 row

    Top row for the new shape.

    System.Int32 column

    Left column for the new shape

    Returns
    Type
    IOptionButtonShape

    AddOptionButton(Int32, Int32, Int32, Int32)

    Adds new OptionButton to the collection.

    Declaration
    public IOptionButtonShape AddOptionButton(int row, int column, int height, int width)
    Parameters
    Type Name Description
    System.Int32 row

    Top row for the new shape.

    System.Int32 column

    Left column for the new shape.

    System.Int32 height

    Height in pixels of the new shape.

    System.Int32 width

    Width in pixels of the new shape.

    Returns
    Type Description
    IOptionButtonShape

    Newly created TextBox object.

    Implements

    System.Collections.Generic.IList<>
    System.Collections.Generic.ICollection<>
    System.Collections.Generic.IEnumerable<>
    System.Collections.IEnumerable
    IParentApplication
    ICloneParent
    IOptionButtons

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved