Class CaptureBox
Inheritance
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
[ComVisible(false)]
public class CaptureBox : UserControl
Constructors
CaptureBox()
Declaration
public CaptureBox()
Properties
CapturedColor
Gets or sets the captured color
Declaration
public Color CapturedColor { get; set; }
Property Value
|
System.Drawing.Color
|
EnableDpiAwarenessContextAutoToggle
Gets or sets a value indicating whether dpi awareness of the process will be toggled automatically. Used in RadColorDialogForm, when trying to pick the color of a single pixel. While picking color the dpi awareness is set to PerMonitorV2, if it is not PerMonitor(V2). When picking is complete, the original dpi awareness is returned.
Declaration
public static bool EnableDpiAwarenessContextAutoToggle { get; set; }
Property Value
|
System.Boolean
|
Methods
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
|
System.Boolean
disposing
true if managed resources should be disposed; otherwise, false. |
GetScreenColor()
Declaration
public static Color GetScreenColor()
Returns
|
System.Drawing.Color
|
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
|
System.Windows.Forms.MouseEventArgs
e
|
Start()
Declaration
public void Start()
Events
ColorChanged
Fires when the color is changed.
Declaration
public event ColorChangedEventHandler ColorChanged
Event Type
|
ColorChangedEventHandler
|