The StyleProperties type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
![]() |
ToInlineCss |
Creates a string containing the CSS corrsponding to the current property values.
|
Extension Methods
Name | Description | |
---|---|---|
![]() |
CreateFont |
Creates a font from current settings.
(Defined by DrawingStyleExtensions.) |
![]() |
GetEffectiveBackgroundColor |
Gets a suitable color to use for painting the background. Use this to render the background of an element that does not support transparency.
This method is typically only relevant for Forms based implementations of views for CustomVisuals etc. If your view is based on HTML and
Javascript (that is, derived from CustomVisualView) you can just leave your background transparent to use the theme color of the page.
(Defined by DrawingStyleExtensions.) |
See Also