Class CustomIcon
- Namespace
 - RadioExt_Helper.models
 
- Assembly
 - RadioExt-Helper.dll
 
Represents a custom icon definition for a radio station.
  
  public sealed class CustomIcon : INotifyPropertyChanged, ICloneable, IEquatable<CustomIcon>
  - Inheritance
 - 
      
      CustomIcon
 
- Implements
 
- Inherited Members
 
Properties
InkAtlasPart
Specifies which part of the 
  
  .inkatlas should be used for the icon.[JsonProperty("inkAtlasPart")]
public string InkAtlasPart { get; set; }
  Property Value
InkAtlasPath
Points to the 
  
  .inkatlas that holds the icon texture.[JsonProperty("inkAtlasPath")]
public string InkAtlasPath { get; set; }
  Property Value
UseCustom
If 
  
  false, the icon specified inside Icon will be used. If true, the
custom icon defined here will be used.[JsonProperty("useCustom")]
public bool UseCustom { get; set; }
  Property Value
Methods
Clone()
Creates a new object that is a copy of the current instance.
  
  public object Clone()
  Returns
- object
 - A new object that is a copy of this instance.
 
Equals(CustomIcon?)
Indicates whether the current object is equal to another object of the same type.
  
  public bool Equals(CustomIcon? other)
  Parameters
otherCustomIcon- An object to compare with this object.
 
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
  
  public override bool Equals(object? obj)
  Parameters
objobject- The object to compare with the current object.
 
Returns
GetHashCode()
Serves as the default hash function.
  
  public override int GetHashCode()
  Returns
- int
 - A hash code for the current object.
 
Events
PropertyChanged
Occurs when a property value changes.
  
  public event PropertyChangedEventHandler? PropertyChanged