Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartItem Class / Key Property


In This Topic
    Key Property
    In This Topic
    Gets or sets a unique string which identifies the SmartItem in its ContainingCollection.
    Syntax
    'Declaration
     
    <DescriptionAttribute("A unique string which identifies the SmartItem in its ContainingCollection.")>
    <CategoryAttribute("Data")>
    <DefaultValueAttribute("")>
    <BrowsableAttribute(True)>
    <MergablePropertyAttribute(False)>
    <LocalizableAttribute(False)>
    Public Property Key As String
    'Usage
     
    Dim instance As SmartItem
    Dim value As String
     
    instance.Key = value
     
    value = instance.Key
    [Description("A unique string which identifies the SmartItem in its ContainingCollection.")]
    [Category("Data")]
    [DefaultValue("")]
    [Browsable(true)]
    [MergableProperty(false)]
    [Localizable(false)]
    public string Key {get; set;}

    Property Value

    A unique string which identifies the SmartItem in its ContainingCollection. By default, System.String.Empty.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also