- drawingContext
- The DrawingContext that defines the AnnButtonObject header to be drawn.
Visual Basic (Declaration) | |
---|---|
Protected Overridable Sub RenderHeader( _ ByVal drawingContext As DrawingContext _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
protected virtual void RenderHeader( DrawingContext drawingContext ) |
C++/CLI | |
---|---|
protected: virtual void RenderHeader( DrawingContext drawingContext ) |
Parameters
- drawingContext
- The DrawingContext that defines the AnnButtonObject header to be drawn.
This method is called internally by the annotation framework whenever the AnnObjectBase.OnRender method is called. There is no need to call this method directly.
If the IsHeaderVisible property is set to false, this method will not be called.
By default, this method will draw the Header text using the HeaderFontFamily, HeaderFontStyle, HeaderFontWeight, HeaderFontStretch, HeaderFontSize with the HeaderForeground as the text brush and HeaderBackground as a brush fill the bounding rectangle of the header text.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family