skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadPropertyStore

Collection of items which can be set as a property grid selected object. It's items would be displayed in the property grid as properties of an object.

Inheritance
System.Object
RadPropertyStore
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll

Syntax

public class RadPropertyStore : IList<PropertyStoreItem>, ICollection<PropertyStoreItem>, IEnumerable<PropertyStoreItem>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

Constructors

RadPropertyStore()

Creates a new instance of the RadPropertyStore

Declaration
public RadPropertyStore()

Properties

Count

Gets the number of items in the collection.

Declaration
public virtual int Count { get; }
Property Value
System.Int32

Implements
System.Collections.Generic.ICollection<T>.Count

IsReadOnly

Gets a value indicating whether the collection is read only.

Declaration
public virtual bool IsReadOnly { get; }
Property Value
System.Boolean

Implements
System.Collections.Generic.ICollection<T>.IsReadOnly

Item[Int32]

Gets or sets the item at the specified index.

Declaration
public virtual PropertyStoreItem this[int index] { get; set; }
Parameters
System.Int32 index

The index.

Property Value
PropertyStoreItem

The item on the specified index.

Implements
System.Collections.Generic.IList<T>.Item[System.Int32]

Item[String]

Gets or sets the item with the specified name.

Declaration
public virtual PropertyStoreItem this[string propertyName] { get; set; }
Parameters
System.String propertyName

The property name.

Property Value
PropertyStoreItem

Returns the item if its present in the collection otherwise returns null

Methods

Add(Type, String, Object)

Adds an item to the collection.

Declaration
public virtual void Add(Type propertyType, string propertyName, object value)
Parameters
System.Type propertyType

Type of the item.

System.String propertyName

Name to be displayed in the RadPropertyGrid.

System.Object value

Value for the item.

Add(PropertyStoreItem)

Adds an item to the collection.

Declaration
public virtual void Add(PropertyStoreItem item)
Parameters
PropertyStoreItem item

The item to add.

Implements
System.Collections.Generic.ICollection<T>.Add(T)

AddRange(IEnumerable<PropertyStoreItem>)

Adds a collection of items to this collection.

Declaration
public virtual void AddRange(IEnumerable<PropertyStoreItem> items)
Parameters
System.Collections.Generic.IEnumerable<PropertyStoreItem> items

The collection of items to add.

Clear()

Clears the entire collection.

Declaration
public virtual void Clear()
Implements
System.Collections.Generic.ICollection<T>.Clear()

Contains(PropertyStoreItem)

Checks whether a specific item is present in the collection.

Declaration
public virtual bool Contains(PropertyStoreItem item)
Parameters
PropertyStoreItem item

The item to check.

Returns
System.Boolean

True if the item is contained in the collection otherwise false.

Implements
System.Collections.Generic.ICollection<T>.Contains(T)

CopyTo(PropertyStoreItem[], Int32)

Copies the items of the collection to the specified array starting from the provided index.

Declaration
public virtual void CopyTo(PropertyStoreItem[] array, int arrayIndex)
Parameters
PropertyStoreItem[] array

The destination array.

System.Int32 arrayIndex

The index in the destination array.

Implements
System.Collections.Generic.ICollection<T>.CopyTo(T[], System.Int32)

GetEnumerator()

Gets the generic enumerator for this collection.

Declaration
public IEnumerator<PropertyStoreItem> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<PropertyStoreItem>

The generic enumerator.

Implements
System.Collections.Generic.IEnumerable<T>.GetEnumerator()

IndexOf(PropertyStoreItem)

Gets the index of the item.

Declaration
public virtual int IndexOf(PropertyStoreItem item)
Parameters
PropertyStoreItem item

The item which index to return

Returns
System.Int32

The index of the item if found and -1 if item is not in the collection.

Implements
System.Collections.Generic.IList<T>.IndexOf(T)

Insert(Int32, PropertyStoreItem)

Inserts the item on the specified index.

Declaration
public virtual void Insert(int index, PropertyStoreItem item)
Parameters
System.Int32 index

The index to insert on.

PropertyStoreItem item

The item to insert.

Implements
System.Collections.Generic.IList<T>.Insert(System.Int32, T)

ItemExistsInCollection(PropertyStoreItem)

Declaration
protected virtual bool ItemExistsInCollection(PropertyStoreItem item)
Parameters
PropertyStoreItem item

Returns
System.Boolean

OnCollectionChanged(NotifyCollectionChangedEventArgs)

Declaration
public virtual void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters
NotifyCollectionChangedEventArgs e

OnItemValueChanged(PropertyStoreItem)

Declaration
public virtual void OnItemValueChanged(PropertyStoreItem item)
Parameters
PropertyStoreItem item

OnItemValueChanged(PropertyStoreItemValueChangedEventArgs)

Declaration
public virtual void OnItemValueChanged(PropertyStoreItemValueChangedEventArgs e)
Parameters
PropertyStoreItemValueChangedEventArgs e

OnNotifyPropertyChanged(PropertyChangedEventArgs)

Declaration
public virtual void OnNotifyPropertyChanged(PropertyChangedEventArgs e)
Parameters
System.ComponentModel.PropertyChangedEventArgs e

OnNotifyPropertyChanged(String)

Declaration
public virtual void OnNotifyPropertyChanged(string propertyName)
Parameters
System.String propertyName

Remove(String)

Removes the item with the specified name form the collection.

Declaration
public virtual bool Remove(string propertyName)
Parameters
System.String propertyName

The name of the item to remove.

Returns
System.Boolean

True if the removal was successful otherwise false.

Remove(PropertyStoreItem)

Removes the specified item form the collection.

Declaration
public virtual bool Remove(PropertyStoreItem item)
Parameters
PropertyStoreItem item

The item to remove from the collection.

Returns
System.Boolean

True if the removal was successful otherwise false.

Implements
System.Collections.Generic.ICollection<T>.Remove(T)

RemoveAt(Int32)

Removes an item from the specified index.

Declaration
public virtual void RemoveAt(int index)
Parameters
System.Int32 index

The index to remove on.

Implements
System.Collections.Generic.IList<T>.RemoveAt(System.Int32)

Events

CollectionChanged

Declaration
public event NotifyCollectionChangedEventHandler CollectionChanged
Event Type
NotifyCollectionChangedEventHandler

Implements
INotifyCollectionChanged.CollectionChanged

ItemValueChanged

Declaration
public event PropertyStoreItemValueChangedEventHandler ItemValueChanged
Event Type
PropertyStoreItemValueChangedEventHandler

PropertyChanged

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Gets the enumerator for this collection.

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator

The enumerator.

Implements
System.Collections.IEnumerable.GetEnumerator()

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.