[]
        
(Showing Draft Content)

C1.Win.C1Editor.UICustomization.XHTMLFlashMovieItem

XHTMLFlashMovieItem Class

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

Inheritance
XHTMLFlashMovieItem
Namespace: C1.Win.C1Editor.UICustomization
Assembly: C1.Win.C1Editor.4.8.dll
Syntax
public class XHTMLFlashMovieItem : 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.

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");
}

Properties

Name Description
Autoplay

Returns or sets a value which determines if the movie will begin to play an .swf file when the .swf file is loaded into the document.

Data

Defines a URL that points to the object's data.

HeightType

Specifies the units used to measure height.

HeightValue

Gets or sets the integer value of the movie's height.

Loop

Returns or sets a value which determines if the movie will play continuously.

Title

Specifies extra information about the element.

UseHeight

True, if height of the movie is specified; otherwise false.

UseWidth

True, if width of the movie is specified; otherwise false.

WidthType

Specifies the units used to measure width.

WidthValue

Gets or sets the integer value of the movie's width.

Methods

Name Description
BuildXml()

For internal use only.

GetNodeTemplate()

For internal use only.

ParseSourceNode()

For internal use only.

SetCustomSelection(C1TextRange)

For internal use only.

StateEqual(XHTMLItemBase)

For internal use only.

See Also