ProtectedconstructorOptionalisInternalConstructor: booleanSets margin (all sides).
Margin in points.
Sets margin with individual sides.
Top margin in points.
Right margin in points.
Bottom margin in points.
Left margin in points.
Sets padding (all sides).
Padding in points.
Sets padding with individual sides.
Top padding in points.
Right padding in points.
Bottom padding in points.
Left padding in points.
Inline style storage for per-element style overrides.
Provides a way to set CSS properties directly on an element, similar to the DOM's element.style API. Inline styles have the highest specificity in CSS cascade.
Example usage in TypeScript: