C# Class DynamicVizSegmenter.CustomControls.ImageSourceDep

Inheritance: System.Windows.DependencyObject
Show file Open project: nickun/OCRonet

Public Properties

Property Type Description
ImageProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetImage ( DependencyObject obj ) : System.Windows.Media.ImageSource

Gets the ImageProperty for a given DependencyObject, which provides an ImageSource for arbitrary WPF elements.

SetImage ( DependencyObject obj, System.Windows.Media.ImageSource value ) : void

Gets the attached ImageProperty for a given DependencyObject, which provides an ImageSource for arbitrary WPF elements.

Private Methods

Method Description
ImageSourceDep ( ) : System.Windows

Method Details

GetImage() public static method

Gets the ImageProperty for a given DependencyObject, which provides an ImageSource for arbitrary WPF elements.
public static GetImage ( DependencyObject obj ) : System.Windows.Media.ImageSource
obj System.Windows.DependencyObject
return System.Windows.Media.ImageSource

SetImage() public static method

Gets the attached ImageProperty for a given DependencyObject, which provides an ImageSource for arbitrary WPF elements.
public static SetImage ( DependencyObject obj, System.Windows.Media.ImageSource value ) : void
obj System.Windows.DependencyObject
value System.Windows.Media.ImageSource
return void

Property Details

ImageProperty public static property

An attached dependency property which provides an ImageSource for arbitrary WPF elements.
public static DependencyProperty,System.Windows ImageProperty
return System.Windows.DependencyProperty