SKCanvasView.AdditionalAttributes Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets additional HTML attributes to apply to the canvas element.
[Microsoft.AspNetCore.Components.Parameter(CaptureUnmatchedValues=true)]
public System.Collections.Generic.IReadOnlyDictionary<string,object>? AdditionalAttributes { get; set; }
Property Value
A dictionary of attribute names and values, or null.
- Attributes
Remarks
Use this property to add CSS classes, styles, or other HTML attributes to the underlying canvas element.