Class Icon
Represents an icon that is used to identify an offline application.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows
Assembly: OpenSilver.dll
Syntax
[NotImplemented]
public sealed class Icon : DependencyObject, IDependencyObject
Constructors
| Improve this Doc View SourceIcon()
Initializes a new instance of the Icon class.
Declaration
public Icon()
Fields
| Improve this Doc View SourceSizeProperty
Identifies the Size dependency property.
Declaration
public static readonly DependencyProperty SizeProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
SourceProperty
Identifies the Source dependency property.
Declaration
public static readonly DependencyProperty SourceProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceSize
Gets the icon size.
Declaration
public Size Size { get; }
Property Value
Type | Description |
---|---|
Size | The icon size. |
Source
Gets the path and file name to the PNG source file of the icon.
Declaration
public Uri Source { get; }
Property Value
Type | Description |
---|---|
System.Uri | The path to the PNG source file of the icon. |