Editor for WinForms | ComponentOne
C1.Win.C1Editor.4.8 Assembly / C1.Win.C1Editor.UICustomization Namespace / XHTMLFlashMovieItem Class
Members Example

In This Topic
    XHTMLFlashMovieItem Class
    In This Topic
    Provides data to bind to and use in a custom Flash movie edit dialog.
    Object Model
    XHTMLFlashMovieItem Class
    Syntax
    'Declaration
     
    Public Class XHTMLFlashMovieItem 
       Inherits XHTMLItemBase
    public class XHTMLFlashMovieItem : XHTMLItemBase 
    Remarks

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

    Example
    The code below binds data in the XHTMLFlashMovieItem item to GUI controls of a custom dialog form.
    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.C1Editor.UICustomization.XHTMLItemBase
          C1.Win.C1Editor.UICustomization.XHTMLFlashMovieItem

    See Also