Share via


SPMenuField members

Provides a data-bound drop-down menu to be used in place of BoundField, TemplateField, or similar controls.

The SPMenuField type exposes the following members.

Constructors

  Name Description
Public method SPMenuField Initializes a new instance of the SPMenuField class.

Top

Properties

  Name Description
Public property AccessibleHeaderText (Inherited from DataControlField.)
Public property CheckedMenuItemIdsFields
Protected property Control (Inherited from DataControlField.)
Public property ControlStyle (Inherited from DataControlField.)
Protected property DesignMode (Inherited from DataControlField.)
Public property DisabledMenuItemIdsFields
Public property FooterStyle (Inherited from DataControlField.)
Public property FooterText (Inherited from DataControlField.)
Public property HeaderImageUrl (Inherited from DataControlField.)
Public property HeaderStyle (Inherited from DataControlField.)
Public property HeaderText (Inherited from DataControlField.)
Public property HiddenMenuItemIdsFields Gets or sets a comma-separated list of field names to be used in the HiddenMenuItemIds property of the underlying Menu control.
Public property ImageUrlFields Gets or sets a comma separated list of field names to be used in the [ImageUrl] property of the underlying [Menu] control.
Public property ImageUrlFormat Gets or sets the format string to be used when setting the [ImageUrl] property of the underlying [Menu] control.
Public property InsertVisible (Inherited from DataControlField.)
Protected property IsTrackingViewState (Inherited from DataControlField.)
Public property ItemStyle (Inherited from DataControlField.)
Public property MenuFormat Gets or sets the MenuFormat value to be used on the underlying Menu control.
Public property MenuTemplateId Gets or sets the value to be used when setting the MenuTemplateId property of the underlying Menu control.
Public property MenuTemplateIdField Gets or sets the field name to use when setting the [MenuTemplateId] property of the underlying [Menu] control.
Public property NavigateUrlFields Gets or sets a comma-separated list of field names to be used in the NavigateUrl property of the underlying Menu control.
Public property NavigateUrlFormat Gets or sets the format string to be used when setting the NavigateUrl property of the underlying Menu control.
Public property ShowHeader (Inherited from DataControlField.)
Public property SortExpression (Inherited from DataControlField.)
Public property TextCssClass Gets or sets the CSS class string to be used when setting the [TextCssClass] property of the underlying [Menu] control.
Public property TextFields Gets or sets a comma-separated list of field names to be used in the Text property of the underlying Menu control.
Public property TextFormat Gets or sets the format string to be used when setting the [Text] property of the underlying [Menu] control.
Public property TokenNameAndValueFields Gets or sets a comma-separated list of token names and field names to be used when setting the TokenNameAndValue property of the underlying Menu control.
Public property ToolTipFields Gets or sets a comma separated list of field names to be used in the [ToolTip] property of the underlying [Menu] control.
Public property ToolTipFormat Gets or sets the format string to be used when setting the [ToolTip] property of the underlying [Menu] control.
Public property UseMaximumWidth Gets or sets the value to be used when setting the [UseMaximumWidth] property of the underlying [Menu] control.
Protected property ViewState (Inherited from DataControlField.)
Public property Visible (Inherited from DataControlField.)

Top

Methods

  Name Description
Protected method CloneField (Inherited from DataControlField.)
Protected method CopyProperties (Inherited from DataControlField.)
Protected method CreateField (Overrides DataControlField.CreateField().)
Public method Equals (Inherited from Object.)
Public method ExtractValuesFromCell (Inherited from DataControlField.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Initialize (Inherited from DataControlField.)
Public method InitializeCell Initializes a single cell of the grid view. (Overrides DataControlField.InitializeCell(DataControlFieldCell, DataControlCellType, DataControlRowState, Int32).)
Protected method LoadViewState (Inherited from DataControlField.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnFieldChanged (Inherited from DataControlField.)
Protected method SaveViewState (Inherited from DataControlField.)
Public method ToString (Inherited from DataControlField.)
Protected method TrackViewState (Inherited from DataControlField.)
Public method ValidateSupportsCallback (Inherited from DataControlField.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate property IDataSourceViewSchemaAccessor.DataSourceViewSchema (Inherited from DataControlField.)
Explicit interface implemetationPrivate property IStateManager.IsTrackingViewState (Inherited from DataControlField.)
Explicit interface implemetationPrivate method IStateManager.LoadViewState (Inherited from DataControlField.)
Explicit interface implemetationPrivate method IStateManager.SaveViewState (Inherited from DataControlField.)
Explicit interface implemetationPrivate method IStateManager.TrackViewState (Inherited from DataControlField.)

Top

See also

Reference

SPMenuField class

Microsoft.SharePoint.WebControls namespace