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 UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder Design System Kit
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RoutedEvent

Represents and identifies a routed event and declares its characteristics.

Inheritance
System.Object
RoutedEvent
Namespace: Telerik.Windows
Assembly: Telerik.Windows.Controls.dll

Syntax

public sealed class RoutedEvent : Object

Fields

LogicalParentProperty

Identifies the LogicalParent attached property.

Declaration
public static readonly DependencyProperty LogicalParentProperty
Field Value
System.Windows.DependencyProperty

Properties

HandlerType

Gets the handler type of the routed event.

Declaration
public Type HandlerType { get; }
Property Value
System.Type

Name

Gets the identifying name of the routed event.

Declaration
public string Name { get; }
Property Value
System.String

OwnerType

Gets the registered owner type of the routed event.

Declaration
public Type OwnerType { get; }
Property Value
System.Type

RoutingStrategy

Gets the routing strategy of the routed event.

Declaration
public RoutingStrategy RoutingStrategy { get; }
Property Value
RoutingStrategy

Methods

AddOwner(Type)

Associates another owner class with this routed event, and enables routing of the event and handling on this class.

Declaration
public RoutedEvent AddOwner(Type ownerType)
Parameters
System.Type ownerType

The type of the class where the routed event is added.

Returns
RoutedEvent

The identifier field for the event. This return value should be used to set a public static read-only field that will store the identifier for the representation of the routed event on the owning class. This field must be accessible because it will be required to attach any instance handlers for the event when using the AddHandler utility method.

GetLogicalParent(DependencyObject)

Gets the logical parent of the specified element.

Declaration
public static DependencyObject GetLogicalParent(DependencyObject obj)
Parameters
System.Windows.DependencyObject obj

Returns
System.Windows.DependencyObject

SetLogicalParent(DependencyObject, DependencyObject)

Sets the logical parent of the specified element.

Declaration
public static void SetLogicalParent(DependencyObject obj, DependencyObject value)
Parameters
System.Windows.DependencyObject obj

System.Windows.DependencyObject value

ToString()

Returns a System.String that represents the current System.Object.

Declaration
public override string ToString()
Returns
System.String

A System.String that represents the current System.Object.

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML 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.