skip navigation
  • Product Bundles

    DevCraft

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

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue 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 Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    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 RadPropertyMetadata

Represents metadata for a RadProperty. RadPropertyMetadata describes the property. For example, through DefaultValue property you can get or set the default value for the property.

Inheritance
System.Object
RadPropertyMetadata
RadElementPropertyMetadata
DocumentPropertyMetadata
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
Assembly: Telerik.WinControls.dll

Syntax

public class RadPropertyMetadata

Constructors

RadPropertyMetadata()

Initializes a new instance of the RadPropertyMetadata class.

Declaration
public RadPropertyMetadata()

RadPropertyMetadata(Object)

Initializes a new instance of the RadPropertyMetadata class using the default value of the property.

Declaration
public RadPropertyMetadata(object defaultValue)
Parameters
System.Object defaultValue

RadPropertyMetadata(Object, PropertyChangedCallback)

Initializes a new instance of the RadPropertyMetadata class using an object and a property changed callback.

Declaration
public RadPropertyMetadata(object defaultValue, PropertyChangedCallback propertyChangedCallback)
Parameters
System.Object defaultValue

PropertyChangedCallback propertyChangedCallback

RadPropertyMetadata(PropertyChangedCallback)

Initializes a new instance of the RadPropertyMetadata class using a property changed callback.

Declaration
public RadPropertyMetadata(PropertyChangedCallback propertyChangedCallback)
Parameters
PropertyChangedCallback propertyChangedCallback

Properties

AttachedPropertyUsage

Declaration
public AttachedPropertyUsage AttachedPropertyUsage { get; }
Property Value
AttachedPropertyUsage

CoerceValueCallback

Declaration
public CoerceValueCallback CoerceValueCallback { get; set; }
Property Value
CoerceValueCallback

DefaultValue

Gets or sets the default value of the property.

Declaration
public object DefaultValue { get; set; }
Property Value
System.Object

IsDefaultValueModified

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

IsInherited

Gets or sets a value indicating whether the property is inherited.

Declaration
public bool IsInherited { get; set; }
Property Value
System.Boolean

IsSealed

Declaration
protected bool IsSealed { get; }
Property Value
System.Boolean

PropertyChangedCallback

Gets or sets the PropertyChangedCallback

Declaration
public PropertyChangedCallback PropertyChangedCallback { get; set; }
Property Value
PropertyChangedCallback

ReadOnly

Gets a value indicating whether the property is read-only.

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

Sealed

Declaration
public bool Sealed { get; set; }
Property Value
System.Boolean

Methods

Copy(RadProperty)

Declaration
public RadPropertyMetadata Copy(RadProperty dp)
Parameters
RadProperty dp

Returns
RadPropertyMetadata

CreateDefaultValue(RadObject, RadProperty)

Declaration
protected virtual object CreateDefaultValue(RadObject owner, RadProperty property)
Parameters
RadObject owner

RadProperty property

Returns
System.Object

CreateInstance()

Declaration
protected virtual RadPropertyMetadata CreateInstance()
Returns
RadPropertyMetadata

DefaultValueWasSet()

Declaration
public bool DefaultValueWasSet()
Returns
System.Boolean

GetDefaultValue(RadObject, RadProperty)

Declaration
public object GetDefaultValue(RadObject owner, RadProperty property)
Parameters
RadObject owner

RadProperty property

Returns
System.Object

InvokeMerge(RadPropertyMetadata, RadProperty)

Declaration
public void InvokeMerge(RadPropertyMetadata baseMetadata, RadProperty dp)
Parameters
RadPropertyMetadata baseMetadata

RadProperty dp

Merge(RadPropertyMetadata, RadProperty)

Declaration
protected virtual void Merge(RadPropertyMetadata baseMetadata, RadProperty dp)
Parameters
RadPropertyMetadata baseMetadata

RadProperty dp

OnApply(RadProperty, Type)

Declaration
protected virtual void OnApply(RadProperty dp, Type targetType)
Parameters
RadProperty dp

System.Type targetType

ReadFlag(Int32)

Declaration
public bool ReadFlag(int id)
Parameters
System.Int32 id

Returns
System.Boolean

Seal(RadProperty, Type)

Declaration
public void Seal(RadProperty dp, Type targetType)
Parameters
RadProperty dp

System.Type targetType

SetAttachedPropertyUsage(AttachedPropertyUsage)

Declaration
public void SetAttachedPropertyUsage(AttachedPropertyUsage attachedPropertyUsage)
Parameters
AttachedPropertyUsage attachedPropertyUsage

WriteFlag(Int32, Boolean)

Declaration
public void WriteFlag(int id, bool value)
Parameters
System.Int32 id

System.Boolean value

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.