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 RadElementPropertyMetadata

Provides metadata for RadElement properties, including layout and rendering behavior options.

Inheritance
System.Object
RadPropertyMetadata
RadElementPropertyMetadata
Inherited Members
RadPropertyMetadata.DefaultValueWasSet()
RadPropertyMetadata.GetDefaultValue(RadObject, RadProperty)
RadPropertyMetadata.CreateDefaultValue(RadObject, RadProperty)
RadPropertyMetadata.Seal(RadProperty, Type)
RadPropertyMetadata.ReadFlag(Int32)
RadPropertyMetadata.WriteFlag(Int32, Boolean)
RadPropertyMetadata.SetAttachedPropertyUsage(AttachedPropertyUsage)
RadPropertyMetadata.Copy(RadProperty)
RadPropertyMetadata.InvokeMerge(RadPropertyMetadata, RadProperty)
RadPropertyMetadata.ReadOnly
RadPropertyMetadata.CoerceValueCallback
RadPropertyMetadata.IsDefaultValueModified
RadPropertyMetadata.DefaultValue
RadPropertyMetadata.IsInherited
RadPropertyMetadata.Sealed
RadPropertyMetadata.IsSealed
RadPropertyMetadata.PropertyChangedCallback
RadPropertyMetadata.AttachedPropertyUsage
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 RadElementPropertyMetadata : RadPropertyMetadata
Remarks

This class extends RadPropertyMetadata to provide element-specific property metadata that controls how property changes affect layout, rendering, and inheritance within the element hierarchy. The metadata includes options for invalidating layout, affecting measurements, controlling inheritance, and determining what aspects of the element tree need to be updated when property values change.

Constructors

RadElementPropertyMetadata()

Initializes a new instance of the RadElementPropertyMetadata class.

Declaration
public RadElementPropertyMetadata()

RadElementPropertyMetadata(Object)

Initializes a new instance of the RadElementPropertyMetadata class with the specified default value.

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

The default value for the property.

RadElementPropertyMetadata(Object, ElementPropertyOptions)

Initializes a new instance of the RadElementPropertyMetadata class with the specified default value and property options.

Declaration
public RadElementPropertyMetadata(object defaultValue, ElementPropertyOptions options)
Parameters
System.Object defaultValue

The default value for the property.

ElementPropertyOptions options

The element property options that control layout and rendering behavior.

RadElementPropertyMetadata(Object, ElementPropertyOptions, PropertyChangedCallback)

Initializes a new instance of the RadElementPropertyMetadata class with the specified default value, property options, and property changed callback.

Declaration
public RadElementPropertyMetadata(object defaultValue, ElementPropertyOptions options, PropertyChangedCallback propertyChangedCallback)
Parameters
System.Object defaultValue

The default value for the property.

ElementPropertyOptions options

The element property options that control layout and rendering behavior.

PropertyChangedCallback propertyChangedCallback

The callback method to invoke when the property value changes.

Properties

AffectsArrange

Gets or sets a value indicating whether property changes affect the arrangement phase of layout for this element.

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

AffectsDisplay

Gets or sets a value indicating whether property changes affect the visual display of the element.

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

AffectsLayout

Gets or sets a value indicating whether property changes affect the layout of the element.

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

AffectsMeasure

Gets or sets a value indicating whether property changes affect the measurement phase of layout for this element.

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

AffectsParentArrange

Gets or sets a value indicating whether property changes affect the arrangement phase of the parent element.

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

AffectsParentMeasure

Gets or sets a value indicating whether property changes affect the measurement phase of the parent element.

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

Cancelable

Gets or sets a value indicating whether property changes can be canceled.

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

CanInheritValue

Gets or sets a value indicating whether the property value can be inherited from parent elements in the element hierarchy.

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

InvalidatesLayout

Gets or sets a value indicating whether property changes invalidate the layout of the element.

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

PropertyOptions

Gets the element property options that define how property changes affect layout and rendering.

Declaration
public ElementPropertyOptions PropertyOptions { get; }
Property Value
ElementPropertyOptions

Methods

CreateInstance()

Creates a new instance of RadElementPropertyMetadata.

Declaration
protected override RadPropertyMetadata CreateInstance()
Returns
RadPropertyMetadata

A new RadElementPropertyMetadata instance.

Overrides
RadPropertyMetadata.CreateInstance()

Merge(RadPropertyMetadata, RadProperty)

Merges this metadata with base metadata when the property is defined in a derived class.

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

The base metadata to merge with.

RadProperty dp

The dependency property being merged.

Overrides
RadPropertyMetadata.Merge(RadPropertyMetadata, RadProperty)

OnApply(RadProperty, Type)

Called when metadata is applied to a property, setting up inheritance behavior based on CanInheritValue.

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

The dependency property this metadata is being applied to.

System.Type targetType

The target type for the property.

Overrides
RadPropertyMetadata.OnApply(RadProperty, Type)

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.