C# Class AcManager.Controls.Services.ImageViewerService

Mostrar archivo Open project: gro-ove/actools

Public Properties

Property Type Description
ImageProperty System.Windows.DependencyProperty
MaxHeightProperty System.Windows.DependencyProperty
MaxWidthProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetImage ( DependencyObject obj ) : string
GetMaxHeight ( DependencyObject obj ) : double
GetMaxWidth ( DependencyObject obj ) : double
SetImage ( DependencyObject obj, string value ) : void
SetMaxHeight ( DependencyObject obj, double value ) : void
SetMaxWidth ( DependencyObject obj, double value ) : void

Private Methods

Method Description
Control_MouseDown ( object sender, System.Windows.Input.MouseEventArgs e ) : void
OnImageChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Method Details

GetImage() public static method

public static GetImage ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
return string

GetMaxHeight() public static method

public static GetMaxHeight ( DependencyObject obj ) : double
obj System.Windows.DependencyObject
return double

GetMaxWidth() public static method

public static GetMaxWidth ( DependencyObject obj ) : double
obj System.Windows.DependencyObject
return double

SetImage() public static method

public static SetImage ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
return void

SetMaxHeight() public static method

public static SetMaxHeight ( DependencyObject obj, double value ) : void
obj System.Windows.DependencyObject
value double
return void

SetMaxWidth() public static method

public static SetMaxWidth ( DependencyObject obj, double value ) : void
obj System.Windows.DependencyObject
value double
return void

Property Details

ImageProperty public_oe static_oe property

public static DependencyProperty,System.Windows ImageProperty
return System.Windows.DependencyProperty

MaxHeightProperty public_oe static_oe property

public static DependencyProperty,System.Windows MaxHeightProperty
return System.Windows.DependencyProperty

MaxWidthProperty public_oe static_oe property

public static DependencyProperty,System.Windows MaxWidthProperty
return System.Windows.DependencyProperty