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 DynamicUIElement3D

This class represents a base class for 3D primitive shapes.

Inheritance
System.Object
DynamicUIElement3D
Cylinder3DPrimitive
Doughnut3DPrimitive
Hexahedron
LabelsHitTestVisual
Pyramid3DPrimitive
RoundedBox3DPrimitive
Sphere
Spline3DPrimitive
SplineArea3DPrimitive
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll

Syntax

public abstract class DynamicUIElement3D : UIElement3D

Constructors

DynamicUIElement3D()

Declaration
protected DynamicUIElement3D()

Fields

BackMaterialProperty

Identifies the BackMaterial dependency property.

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

MaterialProperty

Identifies the Material dependency property.

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

ModelProperty

Identifies the Model dependency property.

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

Properties

BackMaterial

Gets or sets the back material applied to the respective 3D element.

Declaration
public Material BackMaterial { get; set; }
Property Value
System.Windows.Media.Media3D.Material

Material

Gets or sets the material applied to the respective 3D element.

Declaration
public Material Material { get; set; }
Property Value
System.Windows.Media.Media3D.Material

Model

Gets or sets the model applied to the respective 3D element.

Declaration
protected Model3D Model { get; set; }
Property Value
System.Windows.Media.Media3D.Model3D

Methods

ClearModel()

Clears the model.

Declaration
protected virtual void ClearModel()

CreateElementModel()

Creates the final element 3D model.

Declaration
protected virtual Model3D CreateElementModel()
Returns
System.Windows.Media.Media3D.Model3D

The final 3D model of the element.

CreateRectangleModel(Point3D, Point3D, Point3D, Point3D, Material, Material)

Creates a rectangle 3D model.

Declaration
protected static GeometryModel3D CreateRectangleModel(Point3D point0, Point3D point1, Point3D point2, Point3D point3, Material material, Material backMaterial)
Parameters
System.Windows.Media.Media3D.Point3D point0

The first rectangle vertex.

System.Windows.Media.Media3D.Point3D point1

The second rectangle vertex.

System.Windows.Media.Media3D.Point3D point2

The third rectangle vertex.

System.Windows.Media.Media3D.Point3D point3

The fourth rectangle vertex.

System.Windows.Media.Media3D.Material material

The material applied to the rectangle.

System.Windows.Media.Media3D.Material backMaterial

The material applied to the back side of the rectangle.

Returns
System.Windows.Media.Media3D.GeometryModel3D

The rectangle model.

CreateTriangleMesh(Point3D, Point3D, Point3D)

Creates a triangle mesh geometry from three Point3D instances.

Declaration
protected static MeshGeometry3D CreateTriangleMesh(Point3D point0, Point3D point1, Point3D point2)
Parameters
System.Windows.Media.Media3D.Point3D point0

The first triangle vertex.

System.Windows.Media.Media3D.Point3D point1

The second triangle vertex.

System.Windows.Media.Media3D.Point3D point2

The third triangle vertex.

Returns
System.Windows.Media.Media3D.MeshGeometry3D

The triangle mesh geometry.

CreateTriangleModel(Point3D, Point3D, Point3D, Material, Material)

Creates a triangle 3D model.

Declaration
protected static GeometryModel3D CreateTriangleModel(Point3D point0, Point3D point1, Point3D point2, Material material, Material backMaterial)
Parameters
System.Windows.Media.Media3D.Point3D point0

The first triangle vertex.

System.Windows.Media.Media3D.Point3D point1

The second triangle vertex.

System.Windows.Media.Media3D.Point3D point2

The third triangle vertex.

System.Windows.Media.Media3D.Material material

The material applied to the triangle.

System.Windows.Media.Media3D.Material backMaterial

The material applied to the back side of the triangle.

Returns
System.Windows.Media.Media3D.GeometryModel3D

The triangle model.

DegreesToRadians(Double)

Converts degrees to radians.

Declaration
protected static double DegreesToRadians(double degrees)
Parameters
System.Double degrees

The value to convert in degrees.

Returns
System.Double

The converted value in radians.

ModelPropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)

Updates the final model of the 3D element in response to a InvalidateModel() call.

Declaration
protected static void ModelPropertyChanged(DependencyObject targetElement, DependencyPropertyChangedEventArgs eventArgs)
Parameters
System.Windows.DependencyObject targetElement

The target element.

System.Windows.DependencyPropertyChangedEventArgs eventArgs

The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data.

OnUpdateModel()

Participates in rendering operations when overridden in a derived class.

Declaration
protected override void OnUpdateModel()

RadiansToDegrees(Double)

Converts radians to degrees.

Declaration
protected static double RadiansToDegrees(double radians)
Parameters
System.Double radians

The value to convert in radians.

Returns
System.Double

The converted value in degrees.

VisualPropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)

Invalidates the 3D primitive whenever a property that affects the visual appearance of the element is changed.

Declaration
protected static void VisualPropertyChanged(DependencyObject targetElement, DependencyPropertyChangedEventArgs eventArgs)
Parameters
System.Windows.DependencyObject targetElement

The target 3D element.

System.Windows.DependencyPropertyChangedEventArgs eventArgs

The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data.

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
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.