Spread Windows Forms 16
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / SideButtonBase Class / Tag Property


In This Topic
    Tag Property (SideButtonBase)
    In This Topic
    Gets or sets the object that contains data about the side button object.
    Syntax
    'Declaration
     
    
    Public Property Tag As Object
    'Usage
     
    
    Dim instance As SideButtonBase
    Dim value As Object
     
    instance.Tag = value
     
    value = instance.Tag
    public object Tag {get; set;}

    Property Value

    An System.Object that contains data about the side button object. The default is a null reference (Nothing in Visual Basic).
    Remarks

    Any type derived form System.Object class can be assigned to this property. If the Tag property is set through the Windows Form designer, only text can be assigned.

    A common use for the Tag property is to store data that is closely associated with the side button object.

    See Also