Show / Hide Table of Contents

Class Icon

Represents an icon that is used to identify an offline application.

Inheritance
System.Object
DependencyObject
Icon
Inherited Members
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.INTERNAL_OnAttachedToVisualTree()
DependencyObject.INTERNAL_OnDetachedFromVisualTree()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
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 Source

Icon()

Initializes a new instance of the Icon class.

Declaration
public Icon()

Fields

| Improve this Doc View Source

SizeProperty

Identifies the Size dependency property.

Declaration
public static readonly DependencyProperty SizeProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

SourceProperty

Identifies the Source dependency property.

Declaration
public static readonly DependencyProperty SourceProperty
Field Value
Type Description
DependencyProperty

Properties

| Improve this Doc View Source

Size

Gets the icon size.

Declaration
public Size Size { get; }
Property Value
Type Description
Size

The icon size.

| Improve this Doc View Source

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.

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
  • Improve this Doc
  • View Source