Compartilhar via


MediaFieldControl Members

Include Protected Members
Include Inherited Members

A field control capable of displaying the value of a Media field by using a media player.

The MediaFieldControl type exposes the following members.

Constructors

  Name Description
Public method MediaFieldControl Initializes a new instance of a MediaFieldControl object.

Top

Properties

  Name Description
Protected property Adapter (Inherited from Control.)
Protected property AllowFirstFocus (Inherited from BaseFieldControl.)
Public property AlternateTemplate (Inherited from TemplateBasedControl.)
Public property AlternateTemplateName (Inherited from TemplateBasedControl.)
Public property AppRelativeTemplateSourceDirectory (Inherited from Control.)
Public property AutoPlay Gets or sets whether the media should play automatically once the page has loaded.
Public property BindingContainer (Inherited from Control.)
Protected property CanCacheRenderedFieldValue (Inherited from BaseFieldControl.)
Protected property ChildControlsCreated (Inherited from Control.)
Public property ClientID (Inherited from Control.)
Protected property ClientIDSeparator (Inherited from Control.)
Protected property Context (Inherited from Control.)
Public property ControlMode (Inherited from FormComponent.)
Public property Controls (Inherited from TemplateBasedControl.)
Protected property ControlTemplate (Inherited from TemplateBasedControl.)
Public property CssClass (Inherited from BaseFieldControl.)
Public property CustomAlternateTemplate (Inherited from TemplateBasedControl.)
Public property CustomTemplate (Inherited from TemplateBasedControl.)
Protected property DefaultAlternateTemplateName (Inherited from TemplateBasedControl.)
Protected property DefaultTemplateName (Inherited from TemplateBasedControl.)
Protected property DesignMode (Inherited from Control.)
Public property DisableInputFieldLabel (Inherited from BaseFieldControl.)
Public property DisplayMode Gets or sets the MediaDisplayMode in which to start the media player.
Public property DisplaySize (Inherited from FieldMetadata.)
Public property DisplayTemplate (Inherited from BaseFieldControl.)
Public property DisplayTemplateName (Inherited from BaseFieldControl.)
Public property EnableTheming (Inherited from Control.)
Public property EnableViewState (Inherited from Control.)
Public property ErrorMessage (Inherited from BaseFieldControl.)
Protected property Events (Inherited from Control.)
Public property Field (Inherited from FieldMetadata.)
Public property FieldName (Inherited from FieldMetadata.)
Public property Fields (Inherited from FormComponent.)
Protected property HasChildViewState (Inherited from Control.)
Protected property HasPostBackEditData (Inherited from BaseFieldControl.)
Public property Height The width of the media player while being display inline with the rest of the page.
Public property ID (Inherited from Control.)
Protected property IdSeparator (Inherited from Control.)
Public property InDesign (Inherited from SPControl.)
Public property InputFieldLabel (Inherited from BaseFieldControl.)
Protected property IsChildControlStateCleared (Inherited from Control.)
Protected property IsFieldValueCached (Inherited from BaseFieldControl.)
Protected property IsInInlineEditMode (Inherited from BaseFieldControl.)
Protected property IsTrackingViewState (Inherited from Control.)
Public property IsValid (Inherited from BaseFieldControl.)
Protected property IsViewStateEnabled (Inherited from Control.)
Public property Item (Inherited from FormComponent.)
Public property ItemContext (Inherited from FormComponent.)
Public property ItemFieldValue (Inherited from BaseFieldControl.)
Public property ItemId (Inherited from FormComponent.)
Public property ItemIdAsString (Inherited from FormComponent.)
Public property List (Inherited from FormComponent.)
Public property ListId (Inherited from FormComponent.)
Public property ListItem (Inherited from FormComponent.)
Public property ListItemFieldValue (Inherited from BaseFieldControl.)
Protected property LoadViewStateByID (Inherited from Control.)
Public property Loop Whether the media should restart automatically upon playing to completion.
Public property MediaSource Gets or sets a URL reference to the media.
Public property NamingContainer (Inherited from Control.)
Public property Page (Inherited from Control.)
Public property PageUri (Inherited from SPControl.)
Public property Parent (Inherited from Control.)
Public property PresentationLocked Gets or sets whether the presentation properties (TemplateSource, Width, Height) should be locked against editing by content authors.
Public property PreviewImageSource A URL reference to the media preview image.
Protected property PreviousControlMode (Inherited from BaseFieldControl.)
Public property RecurrenceID (Inherited from FormComponent.)
Public property RedirectUrl (Inherited from FormComponent.)
Protected property RegisterAs (Inherited from SPControl.)
Public property RenderContext (Inherited from TemplateBasedControl.)
Public property RibbonCommand (Inherited from FormComponent.)
Public property RibbonContextualGroupCommand (Inherited from FormComponent.)
Public property RibbonGroupCommand (Inherited from FormComponent.)
Public property RibbonTabCommand (Inherited from FormComponent.)
Public property Site (Inherited from Control.)
Public property SkinID (Inherited from Control.)
Public property TabIndex (Inherited from BaseFieldControl.)
Public property Template (Inherited from TemplateBasedControl.)
Public property TemplateContainer (Inherited from TemplateBasedControl.)
Public property TemplateControl (Inherited from Control.)
Public property TemplateName (Inherited from TemplateBasedControl.)
Protected property TemplateOverride (Inherited from TemplateBasedControl.)
Public property TemplateSource A URL reference to a XAML document containing a ControlTemplate definition to be used as the media player's "style" or "skin".
Public property TemplateSourceDirectory (Inherited from Control.)
Public property Title Gets or sets the title of the media. If a Title value is specified by the MediaFieldValue, it will take precedence over this setting.
Public property UniqueID (Inherited from Control.)
Public property Value Gets or sets the MediaFieldValue. (Overrides BaseFieldControl.Value.)
Public property Version (Inherited from TemplateBasedControl.)
Protected property ViewState (Inherited from Control.)
Protected property ViewStateIgnoresCase (Inherited from Control.)
Public property Visible (Inherited from BaseFieldControl.)
Public property Web (Inherited from TemplateBasedControl.)
Public property Width Represents the height of the media player while being displayed inline with the rest of the page. If a Height value is specified by the MediaFieldValue it will take precedence over this setting unless PresentationLocked is set to true.

Top

Methods

  Name Description
Protected method AddedControl (Inherited from Control.)
Protected method AddParsedSubObject (Inherited from Control.)
Public method ApplyStyleSheetSkin (Inherited from Control.)
Protected method BuildProfileTree (Inherited from Control.)
Protected method ClearChildControlState (Inherited from Control.)
Protected method ClearChildState (Inherited from Control.)
Protected method ClearChildViewState (Inherited from Control.)
Protected method CreateChildControls Creates child controls for the Media field control. (Overrides BaseFieldControl.CreateChildControls().)
Protected method CreateControlCollection (Inherited from Control.)
Public method DataBind() (Inherited from Control.)
Protected method DataBind(Boolean) (Inherited from Control.)
Protected method DataBindChildren (Inherited from Control.)
Public method Dispose (Inherited from Control.)
Protected method EnsureChildControls (Inherited from Control.)
Protected method EnsureID (Inherited from Control.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FindControl(String) (Inherited from Control.)
Protected method FindControl(String, Int32) (Inherited from Control.)
Public method Focus (Inherited from BaseFieldControl.)
Protected method GetDesignModeState (Inherited from Control.)
Public method GetDesignTimeHtml (Inherited from SPControl.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method HasControls (Inherited from Control.)
Protected method HasEvents (Inherited from Control.)
Protected method IsLiteralContent (Inherited from Control.)
Protected method LoadControlState (Inherited from Control.)
Protected method LoadViewState (Inherited from Control.)
Protected method MapPathSecure (Inherited from Control.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnBubbleEvent (Inherited from Control.)
Protected method OnDataBinding (Inherited from Control.)
Protected method OnInit (Inherited from BaseFieldControl.)
Protected method OnLoad (Inherited from BaseFieldControl.)
Protected method OnPreRender (Inherited from BaseFieldControl.)
Protected method OnUnload (Inherited from Control.)
Protected method OpenFile (Inherited from Control.)
Protected method RaiseBubbleEvent (Inherited from Control.)
Protected method RegisterFieldControl (Inherited from BaseFieldControl.)
Protected method RemovedControl (Inherited from Control.)
Protected method Render (Inherited from BaseFieldControl.)
Protected method RenderChildren (Inherited from Control.)
Public method RenderControl(HtmlTextWriter) (Inherited from Control.)
Protected method RenderControl(HtmlTextWriter, ControlAdapter) (Inherited from Control.)
Protected method RenderFieldForDisplay Renders a Media field for displaying media data. (Overrides BaseFieldControl.RenderFieldForDisplay(HtmlTextWriter).)
Protected method RenderFieldForInput Renders a Media field for data input. (Overrides BaseFieldControl.RenderFieldForInput(HtmlTextWriter).)
Protected method RenderValidationMessage (Inherited from BaseFieldControl.)
Protected method ResolveAdapter (Inherited from Control.)
Public method ResolveClientUrl (Inherited from Control.)
Public method ResolveUrl (Inherited from Control.)
Protected method SaveControlState (Inherited from Control.)
Protected method SaveViewState (Inherited from Control.)
Protected method SetDesignModeState (Inherited from Control.)
Public method SetRenderMethodDelegate (Inherited from Control.)
Public method ToString (Inherited from Object.)
Protected method TrackViewState (Inherited from Control.)
Public method UpdateFieldValueInItem (Inherited from BaseFieldControl.)
Public method Validate (Inherited from BaseFieldControl.)

Top

Events

  Name Description
Public event DataBinding (Inherited from Control.)
Public event Disposed (Inherited from Control.)
Public event Init (Inherited from Control.)
Public event Load (Inherited from Control.)
Public event PreRender (Inherited from Control.)
Public event Unload (Inherited from Control.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IParserAccessor.AddParsedSubObject (Inherited from Control.)
Explicit interface implemetationPrivate property IControlBuilderAccessor.ControlBuilder (Inherited from Control.)
Explicit interface implemetationPrivate property IDataBindingsAccessor.DataBindings (Inherited from Control.)
Explicit interface implemetationPrivate property IExpressionsAccessor.Expressions (Inherited from Control.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.GetDesignModeState (Inherited from Control.)
Explicit interface implemetationPrivate property IDataBindingsAccessor.HasDataBindings (Inherited from Control.)
Explicit interface implemetationPrivate property IExpressionsAccessor.HasExpressions (Inherited from Control.)
Explicit interface implemetationPrivate method IDesignerEventAccessor.OnDesignerLoad (Inherited from SPControl.)
Explicit interface implemetationPrivate method IDesignerEventAccessor.OnDesignerPreRender (Inherited from SPControl.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.SetDesignModeState (Inherited from Control.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.SetOwnerControl (Inherited from Control.)
Explicit interface implemetationPrivate property IControlDesignerAccessor.UserData (Inherited from Control.)

Top

See Also

Reference

MediaFieldControl Class

Microsoft.SharePoint.Publishing.WebControls Namespace