Show / Hide Table of Contents

Class Track

Defines samples mapped to this track

Inheritance
System.Object
Track
Implements
System.ComponentModel.INotifyPropertyChanged
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: Phoenix.Input
Assembly: Phoenix.Plugin.Input.dll
Syntax
public class Track : INotifyPropertyChanged

Constructors

View Source

Track()

Initializes a new instance of the Track class

Declaration
public Track()
View Source

Track(Int32, String, Track.TrackSampleType, Color, BitmapImage)

Initializes a new instance of the Track class setting most values

Declaration
public Track(int id, string name, Track.TrackSampleType type, Color color, BitmapImage icon)
Parameters
Type Name Description
System.Int32 id

Track identifier

System.String name

Name to show for this track

Track.TrackSampleType type

Track type

System.Windows.Media.Color color

Color to show for this track

System.Windows.Media.Imaging.BitmapImage icon

Icon to show for this track

Properties

View Source

Color

Gets or sets the track display color

Declaration
public Color Color { get; set; }
Property Value
Type Description
System.Windows.Media.Color
View Source

ColorBrush

Gets the brush created from color

Declaration
public Brush ColorBrush { get; }
Property Value
Type Description
System.Windows.Media.Brush
View Source

ColorPen

Gets the pen created from color

Declaration
public Pen ColorPen { get; }
Property Value
Type Description
System.Windows.Media.Pen
View Source

HighlightPen

Gets the pen created from lighter color

Declaration
public Pen HighlightPen { get; }
Property Value
Type Description
System.Windows.Media.Pen
View Source

Icon

Gets or sets the track display icon

Declaration
public BitmapImage Icon { get; set; }
Property Value
Type Description
System.Windows.Media.Imaging.BitmapImage
View Source

Id

Gets or sets the track identifier

Declaration
public int Id { get; set; }
Property Value
Type Description
System.Int32
View Source

IsSelected

Gets or sets a value indicating whether the track is selected

Declaration
public bool IsSelected { get; set; }
Property Value
Type Description
System.Boolean
View Source

Max

Gets or sets the range max for the track for display

Declaration
public double Max { get; set; }
Property Value
Type Description
System.Double
View Source

Min

Gets or sets the range minimum for the track for display

Declaration
public double Min { get; set; }
Property Value
Type Description
System.Double
View Source

Name

Gets or sets the track display name

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String
View Source

Samples

Gets the samples recorded onto the track

Declaration
public SampleSet Samples { get; }
Property Value
Type Description
SampleSet
View Source

SampleType

Gets or sets the track type

Declaration
public Track.TrackSampleType SampleType { get; set; }
Property Value
Type Description
Track.TrackSampleType
View Source

ShadowPen

Gets the pen created from darker color

Declaration
public Pen ShadowPen { get; }
Property Value
Type Description
System.Windows.Media.Pen

Events

View Source

PropertyChanged

Property changed event required for INotifyPropertyChanged support

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
System.ComponentModel.PropertyChangedEventHandler

Implements

System.ComponentModel.INotifyPropertyChanged
  • View Source
In This Article
Back to top Generated by DocFX