Struct CachedSvgImage<TImage>
public struct CachedSvgImage<TImage> where TImage : class
Type Parameters
TImage
Constructors
- CachedSvgImage()
Initializes a new instance of the CachedSvgImage<TImage> struct.
Properties
- SvgImage
Gets or sets svg.
- SvgSize
Gets or sets svg size.
Methods
- GetImage(VisualControlState, bool?)
Gets image for the specified item state and light/dark theme flag.
- HasImage(VisualControlState, bool?)
Gets whether image exists for the specified item state and light/dark theme flag.
- RealSvgHeight(Control?)
Gets real svg height in pixels using SvgSize and other settings.
- SetImage(VisualControlState, object?, bool?)
Sets image for the specified color theme light/dark theme flag.
- UpdateImage(VisualControlState, bool, Control?)
Saves svg as Image to the specified state.
- UpdateImageSet(VisualControlState, bool, Control?)
Saves svg as ImageSet to the specified state.