New to Telerik UI for WPFStart a free 30-day trial

Represents the RadDiagramThumbnail.

Definition

Namespace:Telerik.Windows.Controls.Diagrams.Extensions

Assembly:Telerik.Windows.Controls.Diagrams.Extensions.dll

Syntax:

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

Inheritance: objectRadDiagramThumbnail

Constructors

Initializes a new instance of the RadDiagramThumbnail class.

C#
public RadDiagramThumbnail()

Fields

DiagramProperty

DependencyProperty

Identifies the Diagram dependency property.

C#
public static readonly DependencyProperty DiagramProperty

ImageSourceProperty

DependencyProperty

Identifies the ImageSource dependency property.

C#
public static readonly DependencyProperty ImageSourceProperty

Identifies the IsAutoRefreshEnabled dependency property.

C#
public static readonly DependencyProperty IsAutoRefreshEnabledProperty

ViewportRectProperty

DependencyProperty

Identifies the ViewportRect dependency property.

C#
public static readonly DependencyProperty ViewportRectProperty

ViewportStyleProperty

DependencyProperty

Identifies the ViewportStyle dependency property.

C#
public static readonly DependencyProperty ViewportStyleProperty

Properties

Gets or sets the diagram.

C#
public RadDiagram Diagram { get; set; }
Property Value:

The diagram.

ImageSource

ImageSource

Gets or sets the background brush.

C#
public ImageSource ImageSource { get; }

Gets or sets the isAutoRefreshEnabled property.

C#
public bool IsAutoRefreshEnabled { get; set; }

Gets or sets the viewport rectangle.

C#
public Rect ViewportRect { get; }

Gets or sets the viewport border style.

C#
public Style ViewportStyle { get; set; }

Gets the zoom.

C#
public double Zoom { get; }
Property Value:

The zoom.

Methods

Clips the framework element.

C#
protected virtual void ClipFrameworkElement(FrameworkElement frameworkElement)
Parameters:frameworkElementFrameworkElement

The framework element.

Gets the image's source that will be displayed.

C#
protected virtual ImageSource CreateImageSource(Rect enclosingBounds, Size returnImageSize)
Parameters:enclosingBoundsRect

The image's enclosing bounds.

returnImageSizeSize

The return size of image.

Returns:

ImageSource

Gets the image rectangle.

C#
protected virtual Rect GetImageRectangle()
Returns:

Rect

C#
public override void OnApplyTemplate()
C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

Called when the diagram property changes.

C#
protected virtual void OnDiagramChanged(RadDiagram oldDiagram, RadDiagram newDiagram)
Parameters:oldDiagramRadDiagramnewDiagramRadDiagram
C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs
C#
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters:eMouseButtonEventArgs
C#
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters:eMouseButtonEventArgs
C#
protected override void OnMouseMove(MouseEventArgs e)
Parameters:eMouseEventArgs
C#
protected override void OnMouseWheel(MouseWheelEventArgs e)
Parameters:eMouseWheelEventArgs

Refreshes the RadDiagramThumbnail.

C#
public virtual void RefreshThumbnail()