Class RadDiagramThumbnail
Represents the RadDiagramThumbnail.
Inheritance
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 Rad
Declaration
public RadDiagramThumbnail()
Fields
DiagramProperty
Identifies the Diagram dependency property.
Declaration
public static readonly DependencyProperty DiagramProperty
Field Value
System.
|
ImageSourceProperty
Identifies the ImageSource dependency property.
Declaration
public static readonly DependencyProperty ImageSourceProperty
Field Value
System.
|
IsAutoRefreshEnabledProperty
Identifies the IsAutoRefreshEnabled dependency property.
Declaration
public static readonly DependencyProperty IsAutoRefreshEnabledProperty
Field Value
System.
|
ViewportRectProperty
Identifies the ViewportRect dependency property.
Declaration
public static readonly DependencyProperty ViewportRectProperty
Field Value
System.
|
ViewportStyleProperty
Identifies the ViewportStyle dependency property.
Declaration
public static readonly DependencyProperty ViewportStyleProperty
Field Value
System.
|
Properties
Diagram
Gets or sets the diagram.
Declaration
public RadDiagram Diagram { get; set; }
Property Value
Rad The diagram. |
ImageSource
Gets or sets the background brush.
Declaration
public ImageSource ImageSource { get; }
Property Value
System.
|
IsAutoRefreshEnabled
Gets or sets the isAutoRefreshEnabled property.
Declaration
public bool IsAutoRefreshEnabled { get; set; }
Property Value
System.
|
ViewportRect
Gets or sets the viewport rectangle.
Declaration
public Rect ViewportRect { get; }
Property Value
System.
|
ViewportStyle
Gets or sets the viewport border style.
Declaration
public Style ViewportStyle { get; set; }
Property Value
System.
|
Zoom
Gets the zoom.
Declaration
public double Zoom { get; }
Property Value
System. The zoom. |
Methods
ClipFrameworkElement(FrameworkElement)
Clips the framework element.
Declaration
protected virtual void ClipFrameworkElement(FrameworkElement frameworkElement)
Parameters
System. 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. The image's enclosing bounds. |
System. The return size of image. |
Returns
System.
|
GetImageRectangle()
Gets the image rectangle.
Declaration
protected virtual Rect GetImageRectangle()
Returns
System.
|
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.
|
OnDiagramChanged(RadDiagram, RadDiagram)
Called when the diagram property changes.
Declaration
protected virtual void OnDiagramChanged(RadDiagram oldDiagram, RadDiagram newDiagram)
Parameters
Rad
|
Rad
|
OnInitialized(EventArgs)
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.
|
OnMouseLeftButtonDown(MouseButtonEventArgs)
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
System.
|
OnMouseLeftButtonUp(MouseButtonEventArgs)
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
System.
|
OnMouseMove(MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.
|
OnMouseWheel(MouseWheelEventArgs)
Declaration
protected override void OnMouseWheel(MouseWheelEventArgs e)
Parameters
System.
|
RefreshThumbnail()
Refreshes the RadDiagramThumbnail.
Declaration
public virtual void RefreshThumbnail()