ImageTextInfo Class
Represents an object that has properties for setting large and small image sources, along with a text label.
public class ImageTextInfo : DependencyObject
- Inheritance:
- object object
Remarks
This class is ideal for using to databind images, text or other information to the Header of a HeaderedContentControl.
Constructors
ImageTextInfo()
Initializes an instance of the class.
public ImageTextInfo()
Properties
ImageSourceLarge
A large ImageSource.
ImageSourceSmall
A small ImageSource.
Tag
An arbitrary object value that can be used to store custom information about this object.
Text
A text label.
[Localizability(LocalizationCategory.Title)]
public string? Text { get; set; }
Property Value
Methods
ToString()
Returns the string representation of this object.
Fields
ImageSourceLargeProperty
Defines the ImageSourceLarge property.
public static readonly DependencyProperty ImageSourceLargeProperty
ImageSourceSmallProperty
Defines the ImageSourceSmall property.
public static readonly DependencyProperty ImageSourceSmallProperty
TagProperty
Defines the Tag property.
public static readonly DependencyProperty TagProperty
TextProperty
Defines the Text property.
public static readonly DependencyProperty TextProperty