Provides data to bind to and use in a custom Flash movie edit dialog.

Namespace:  C1.Win.XmlEditor.UICustomization
Assembly:  C1.Win.XmlEditor.2 (in C1.Win.XmlEditor.2.dll)

Syntax

C#
public class XHTMLFlashMovieItem : XHTMLItemBase
Visual Basic (Declaration)
Public Class XHTMLFlashMovieItem _
	Inherits XHTMLItemBase

Remarks

Implementing a custom Flash movie dialog, you will receive an instance of the XHTMLFlashMovieItem class in the BindData(XHTMLFlashMovieItem) method. Use it to bind the data to the dialog's UI.

Examples

The code below binds data in the XHTMLFlashMovieItem item to GUI controls of a custom dialog form.
Copy CodeC#
void IFlashMovieItemDialog.BindData(XHTMLFlashMovieItem Item)
{
    _cbxWidthType.SelectedIndex = (int)Item.WidthType;
    _cbxHeightType.SelectedIndex = (int)Item.HeightType;
    _nudWidthValue.DataBindings.Add("Value", Item, "WidthValue");
    _nudHeightValue.DataBindings.Add("Value", Item, "HeightValue");
    _tbData.DataBindings.Add("Text", Item, "Data");
    _chbAutoplay.DataBindings.Add("Checked", Item, "Autoplay");
    _chbLoop.DataBindings.Add("Checked", Item, "Loop");
    _chkWidth.DataBindings.Add("Checked", Item, "UseWidth");
    _chkHeight.DataBindings.Add("Checked", Item, "UseHeight");
    _tbTitle.DataBindings.Add("Text", Item, "Title");
}

Inheritance Hierarchy

System..::.Object
  C1.Win.XmlEditor.UICustomization..::.XHTMLItemBase
    C1.Win.XmlEditor.UICustomization..::.XHTMLFlashMovieItem

See Also