Example





In This Topic

BackColor Property (AnnotationEditor)

In This Topic
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;

}
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