Class ImageEditorContainer
Inheritance
System.Object
ImageEditorContainer
Namespace: ArtOfTest.WebAii.Design.UI
Assembly: ArtOfTest.WebAii.Design.dll
Syntax
public class ImageEditorContainer : ModalDialogContentBase, INotifyPropertyChanged, IComponentConnector
Constructors
ImageEditorContainer()
Declaration
public ImageEditorContainer()
Fields
CanDrawRectangleProperty
Declaration
public static readonly DependencyProperty CanDrawRectangleProperty
Field Value
System.Windows.DependencyProperty
|
CanDrawTextBoxProperty
Declaration
public static readonly DependencyProperty CanDrawTextBoxProperty
Field Value
System.Windows.DependencyProperty
|
CanEditProperty
Declaration
public static DependencyProperty CanEditProperty
Field Value
System.Windows.DependencyProperty
|
CommandsProperty
Declaration
public static readonly DependencyProperty CommandsProperty
Field Value
System.Windows.DependencyProperty
|
DrawColorProperty
Declaration
public static readonly DependencyProperty DrawColorProperty
Field Value
System.Windows.DependencyProperty
|
NewImageProperty
Declaration
public static readonly DependencyProperty NewImageProperty
Field Value
System.Windows.DependencyProperty
|
StreamSourceProperty
Declaration
public static readonly DependencyProperty StreamSourceProperty
Field Value
System.Windows.DependencyProperty
|
Properties
CanDrawRectangle
Declaration
public bool CanDrawRectangle { get; set; }
Property Value
System.Boolean
|
CanDrawTextBox
Declaration
public bool CanDrawTextBox { get; set; }
Property Value
System.Boolean
|
CanEdit
Declaration
public bool CanEdit { get; set; }
Property Value
System.Boolean
|
CanUnload
Declaration
public bool CanUnload { get; set; }
Property Value
System.Boolean
|
Commands
DrawColor
Declaration
public Color DrawColor { get; set; }
Property Value
System.Windows.Media.Color
|
HorizontalImageResolution
Declaration
public float HorizontalImageResolution { get; set; }
Property Value
System.Single
|
ImageHeight
Declaration
public int ImageHeight { get; set; }
Property Value
System.Int32
|
ImagePath
Declaration
public string ImagePath { get; set; }
Property Value
System.String
|
ImageWidth
Declaration
public int ImageWidth { get; set; }
Property Value
System.Int32
|
NewImage
Declaration
public Bitmap NewImage { get; set; }
Property Value
System.Drawing.Bitmap
|
StreamSource
Declaration
public Stream StreamSource { get; set; }
Property Value
System.IO.Stream
|
Title
Declaration
public override string Title { get; }
Property Value
System.String
|
VerticalImageResolution
Declaration
public float VerticalImageResolution { get; set; }
Property Value
System.Single
|
Methods
CaptureDesktop()
Declaration
public void CaptureDesktop()
ClearCapture()
Declaration
public void ClearCapture()
ClearImageCapture()
Declaration
public void ClearImageCapture()
GetButtons()
Declaration
public override DialogResult[] GetButtons()
Returns
System.Windows.Forms.DialogResult[]
|
InitializeComponent()
Declaration
public void InitializeComponent()
InjectImage(Bitmap)
Declaration
public void InjectImage(Bitmap img)
Parameters
System.Drawing.Bitmap
img
|
LoadImage()
Declaration
public void LoadImage()
OnCanEditStateChanged(Boolean)
Declaration
protected virtual void OnCanEditStateChanged(bool state)
Parameters
System.Boolean
state
|
OnCommandExecuted(CancelEventArgs)
Declaration
protected virtual void OnCommandExecuted(CancelEventArgs e)
Parameters
System.ComponentModel.CancelEventArgs
e
|
OnCommandExecuting(CancelEventArgs)
Declaration
protected virtual void OnCommandExecuting(CancelEventArgs e)
Parameters
System.ComponentModel.CancelEventArgs
e
|
OnDrawStateChange()
Declaration
protected virtual void OnDrawStateChange()
OnPrePrompt(DialogResult)
Declaration
public override bool OnPrePrompt(DialogResult prompt)
Parameters
System.Windows.Forms.DialogResult
prompt
|
Returns
System.Boolean
|
OnPropertyChanged(String)
Declaration
protected virtual void OnPropertyChanged(string propName)
Parameters
System.String
propName
|
OverrideButtonText(DialogResult)
Declaration
public override string OverrideButtonText(DialogResult button)
Parameters
System.Windows.Forms.DialogResult
button
|
Returns
System.String
|
WriteNewImage()
Declaration
public void WriteNewImage()
Events
CanEditChanged
Declaration
public event EventHandler CanEditChanged
Event Type
System.EventHandler
|
DrawStateChanged
Declaration
public event EventHandler DrawStateChanged
Event Type
System.EventHandler
|
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|