Class WAVEncoderPage
Interaction logic for WAVEncoderPage.xaml.
Inheritance
WAVEncoderPage
Implements
Inherited Members
Namespace: VisioForge.Core.UI.WPF.Dialogs.OutputFormats.Pages
Assembly: VisioForge.Core.dll
Syntax
public class WAVEncoderPage : Page, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, INotifyPropertyChanged, IComponentConnector
Constructors
WAVEncoderPage()
Initializes a new instance of the WAVEncoderPage class.
Declaration
public WAVEncoderPage()
Properties
Format
Gets or sets the format.
Declaration
public AudioFormatX Format { get; set; }
Property Value
| Type | Description |
|---|---|
| AudioFormatX | The format. |
FormatStr
Gets or sets the format (as string).
Declaration
public string FormatStr { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The format. |
Formats
Gets or sets the format list.
Declaration
public ObservableCollection<string> Formats { get; set; }
Property Value
| Type | Description |
|---|---|
| ObservableCollection<string> | The format list. |
Methods
Fill(ref WAVEncoderSettings)
Fills the specified settings.
Declaration
public void Fill(ref WAVEncoderSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| WAVEncoderSettings | settings | The settings. |
GetPageType()
Gets the type of the page.
Declaration
public Type GetPageType()
Returns
| Type | Description |
|---|---|
| Type | Type. |
Init(WAVEncoderSettings)
Initializes the specified settings.
Declaration
public void Init(WAVEncoderSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| WAVEncoderSettings | settings | The settings. |
InitializeComponent()
InitializeComponent
Declaration
public void InitializeComponent()
OnPropertyChanged(string)
OnPropertyChanged API.
Declaration
protected virtual void OnPropertyChanged(string propertyName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | propertyName | Property name. |
SetProperty<T>(ref T, T, string)
Sets the property.
Declaration
protected bool SetProperty<T>(ref T field, T newValue, string propertyName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| T | field | The field. |
| T | newValue | The new value. |
| string | propertyName | Name of the property. |
Returns
| Type | Description |
|---|---|
| bool |
|
Type Parameters
| Name | Description |
|---|---|
| T | T. |
Events
PropertyChanged
Property changed event.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type | Description |
|---|---|
| PropertyChangedEventHandler |