C1.Win.C1Editor.4 Assembly > C1.Win.C1Editor.UICustomization Namespace : XHTMLFlashMovieItem Class |
'Declaration Public Class XHTMLFlashMovieItem Inherits XHTMLItemBase
public class XHTMLFlashMovieItem : XHTMLItemBase
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.
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"); }
System.Object
C1.Win.C1Editor.UICustomization.XHTMLItemBase
C1.Win.C1Editor.UICustomization.XHTMLFlashMovieItem