Class Track
Defines samples mapped to this track
Inheritance
Implements
Inherited Members
Namespace: Phoenix.Input
Assembly: Phoenix.Plugin.Input.dll
Syntax
public class Track : INotifyPropertyChanged
Constructors
View SourceTrack()
Initializes a new instance of the Track class
Declaration
public Track()
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 SourceColor
Gets or sets the track display color
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Color |
ColorBrush
Gets the brush created from color
Declaration
public Brush ColorBrush { get; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush |
ColorPen
Gets the pen created from color
Declaration
public Pen ColorPen { get; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Pen |
HighlightPen
Gets the pen created from lighter color
Declaration
public Pen HighlightPen { get; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Pen |
Icon
Gets or sets the track display icon
Declaration
public BitmapImage Icon { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Imaging.BitmapImage |
Id
Gets or sets the track identifier
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsSelected
Gets or sets a value indicating whether the track is selected
Declaration
public bool IsSelected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Max
Gets or sets the range max for the track for display
Declaration
public double Max { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Min
Gets or sets the range minimum for the track for display
Declaration
public double Min { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Name
Gets or sets the track display name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Samples
Gets the samples recorded onto the track
Declaration
public SampleSet Samples { get; }
Property Value
Type | Description |
---|---|
SampleSet |
SampleType
Gets or sets the track type
Declaration
public Track.TrackSampleType SampleType { get; set; }
Property Value
Type | Description |
---|---|
Track.TrackSampleType |
ShadowPen
Gets the pen created from darker color
Declaration
public Pen ShadowPen { get; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Pen |
Events
View SourcePropertyChanged
Property changed event required for INotifyPropertyChanged support
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |