GdPicture.NET.14
GdPicture14 Namespace / AnnotationEditor Class / BackColor Property
Example





In This Topic
BackColor Property (AnnotationEditor)
In This Topic
Gets or sets the background color for the control.
Syntax
'Declaration
 
Public Overrides NotOverridable Property BackColor As Color
public override Color BackColor {get; set;}
public read-write property BackColor: Color; override; 
public override function get,set BackColor : Color
public: __property Color get_BackColor() override;
public: __property void set_BackColor( 
   Color value
) override;
public:
property Color BackColor {
   Color get() override;
   void set (    Color value) override;
}

Property Value

A System.Drawing.Color that represents the background color of the control. The default is the value of the System.Windows.Forms.Control.DefaultBackColor property.
Example
How to change the background color of the AnnotationEditor control.
'We assume that the AnnotationEditor1 control has been properly integrated.
'Set your preferred properties here.
AnnotationEditor1.Name = "AnnotationEditor1"
AnnotationEditor1.BackColor = Color.FromArgb(255, 245, 245, 220)
//We assume that the AnnotationEditor1 control has been properly integrated.
//Set your preferred properties here.
AnnotationEditor1.Name = "AnnotationEditor1";
AnnotationEditor1.BackColor = Color.FromArgb(255, 245, 245, 220);
See Also