IconFrameSelector Class
Represents a markup extension that allows the selection of a specific frame from an icon.
public class IconFrameSelector : MarkupExtension
- Inheritance:
- object MarkupExtension object
Constructors
IconFrameSelector()
Initializes an instance of the class.
public IconFrameSelector()
IconFrameSelector(ImageSource?)
Initializes an instance of the class.
public IconFrameSelector(ImageSource? imageSource)
| Parameter | Type | Description |
|---|---|---|
| imageSource | ImageSource | The image source to select the frame. |
Properties
DesiredHeight
The desired image frame height.
DesiredWidth
The desired image frame width.
ImageSource
The source of an image that contains several frames.
Methods
ProvideValue(IServiceProvider)
When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension.
public override object? ProvideValue(IServiceProvider serviceProvider)
| Parameter | Type | Description |
|---|---|---|
| serviceProvider | IServiceProvider | A service provider helper that can provide services for the markup extension. |
Returns
- object:
The object value to set on the property where the extension is applied.
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()