In This Article

VariantCollection Class

Defines a collection of variants (either SizeVariant or VariantSet) for use with a Ribbon.

public class VariantCollection : FreezableCollection<VariantBase>, ISealable, IAnimatable, DUCE.IResource, IList, ICollection, IList<VariantBase>, ICollection<VariantBase>, IEnumerable<VariantBase>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Inheritance:
System.Object System.Windows.Threading.DispatcherObject System.Windows.DependencyObject System.Windows.Freezable System.Windows.Media.Animation.Animatable System.Windows.FreezableCollection<VariantBase> Object

Constructors

VariantCollection()

public VariantCollection()

Methods

CreateInstanceCore()

Creates a new instance of the System.Windows.FreezableCollection<T>.

protected override Freezable CreateInstanceCore()

Returns

System.Windows.Freezable:

The new instance.

Inherited Members

  • System.Object.ToString()
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object, System.Object)
  • System.Object.ReferenceEquals(System.Object, System.Object)
  • System.Object.GetHashCode()
  • System.Object.GetType()
  • System.Object.MemberwiseClone()