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 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 RadDiagramThumbnail

Represents the RadDiagramThumbnail.

Inheritance
System.Object
RadDiagramThumbnail
Namespace: Telerik.Windows.Controls.Diagrams.Extensions
Assembly: Telerik.Windows.Controls.Diagrams.Extensions.dll

Syntax

[TelerikToolboxCategory("Diagram")]
public class RadDiagramThumbnail : Control

Constructors

RadDiagramThumbnail()

Initializes a new instance of the RadDiagramThumbnail class.

Declaration
public RadDiagramThumbnail()

Fields

DiagramProperty

Identifies the Diagram dependency property.

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

ImageSourceProperty

Identifies the ImageSource dependency property.

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

IsAutoRefreshEnabledProperty

Identifies the IsAutoRefreshEnabled dependency property.

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

ViewportRectProperty

Identifies the ViewportRect dependency property.

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

ViewportStyleProperty

Identifies the ViewportStyle dependency property.

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

Properties

Diagram

Gets or sets the diagram.

Declaration
public RadDiagram Diagram { get; set; }
Property Value
RadDiagram

The diagram.

ImageSource

Gets or sets the background brush.

Declaration
public ImageSource ImageSource { get; }
Property Value
System.Windows.Media.ImageSource

IsAutoRefreshEnabled

Gets or sets the isAutoRefreshEnabled property.

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

ViewportRect

Gets or sets the viewport rectangle.

Declaration
public Rect ViewportRect { get; }
Property Value
System.Windows.Rect

ViewportStyle

Gets or sets the viewport border style.

Declaration
public Style ViewportStyle { get; set; }
Property Value
System.Windows.Style

Zoom

Gets the zoom.

Declaration
public double Zoom { get; }
Property Value
System.Double

The zoom.

Methods

ClipFrameworkElement(FrameworkElement)

Clips the framework element.

Declaration
protected virtual void ClipFrameworkElement(FrameworkElement frameworkElement)
Parameters
System.Windows.FrameworkElement frameworkElement

The framework element.

CreateImageSource(Rect, Size)

Gets the image's source that will be displayed.

Declaration
protected virtual ImageSource CreateImageSource(Rect enclosingBounds, Size returnImageSize)
Parameters
System.Windows.Rect enclosingBounds

The image's enclosing bounds.

System.Windows.Size returnImageSize

The return size of image.

Returns
System.Windows.Media.ImageSource

GetImageRectangle()

Gets the image rectangle.

Declaration
protected virtual Rect GetImageRectangle()
Returns
System.Windows.Rect

OnApplyTemplate()

Declaration
public override void OnApplyTemplate()

OnCreateAutomationPeer()

Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer

OnDiagramChanged(RadDiagram, RadDiagram)

Called when the diagram property changes.

Declaration
protected virtual void OnDiagramChanged(RadDiagram oldDiagram, RadDiagram newDiagram)
Parameters
RadDiagram oldDiagram

RadDiagram newDiagram

OnInitialized(EventArgs)

Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs e

OnMouseLeftButtonDown(MouseButtonEventArgs)

Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs e

OnMouseLeftButtonUp(MouseButtonEventArgs)

Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs e

OnMouseMove(MouseEventArgs)

Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs e

OnMouseWheel(MouseWheelEventArgs)

Declaration
protected override void OnMouseWheel(MouseWheelEventArgs e)
Parameters
System.Windows.Input.MouseWheelEventArgs e

RefreshThumbnail()

Refreshes the RadDiagramThumbnail.

Declaration
public virtual void RefreshThumbnail()

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.