Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ViewUserControl Class

 

Represents the information that is needed to build a user control.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)


public class ViewUserControl : UserControl, IViewDataContainer

NameDescription
System_CAPS_pubmethodViewUserControl()

Initializes a new instance of the ViewUserControl class.

NameDescription
System_CAPS_protpropertyAdapter

(Inherited from Control.)

System_CAPS_pubpropertyAjax

Gets the AJAX script for the view.

System_CAPS_pubpropertyApplication

(Inherited from UserControl.)

System_CAPS_pubpropertyAppRelativeTemplateSourceDirectory

(Inherited from Control.)

System_CAPS_pubpropertyAppRelativeVirtualPath

(Inherited from TemplateControl.)

System_CAPS_pubpropertyAttributes

(Inherited from UserControl.)

System_CAPS_pubpropertyCache

(Inherited from UserControl.)

System_CAPS_pubpropertyCachePolicy

(Inherited from UserControl.)

System_CAPS_protpropertyChildControlsCreated

(Inherited from Control.)

System_CAPS_pubpropertyClientID

(Inherited from Control.)

System_CAPS_pubpropertyClientIDMode

(Inherited from Control.)

System_CAPS_protpropertyClientIDSeparator

(Inherited from Control.)

System_CAPS_protpropertyContext

(Inherited from Control.)

System_CAPS_pubpropertyControls

(Inherited from Control.)

System_CAPS_protpropertyDesignMode

(Inherited from Control.)

System_CAPS_pubpropertyEnableTheming

(Inherited from TemplateControl.)

System_CAPS_pubpropertyEnableViewState

(Inherited from Control.)

System_CAPS_protpropertyEvents

(Inherited from Control.)

System_CAPS_protpropertyHasChildViewState

(Inherited from Control.)

System_CAPS_pubpropertyHtml

Gets the HTML for the view.

System_CAPS_pubpropertyID

(Inherited from Control.)

System_CAPS_protpropertyIdSeparator

(Inherited from Control.)

System_CAPS_protpropertyIsChildControlStateCleared

(Inherited from Control.)

System_CAPS_pubpropertyIsPostBack

(Inherited from UserControl.)

System_CAPS_protpropertyIsTrackingViewState

(Inherited from Control.)

System_CAPS_protpropertyIsViewStateEnabled

(Inherited from Control.)

System_CAPS_protpropertyLoadViewStateByID

(Inherited from Control.)

System_CAPS_pubpropertyModel

Gets the model.

System_CAPS_pubpropertyNamingContainer

(Inherited from Control.)

System_CAPS_pubpropertyPage

(Inherited from Control.)

System_CAPS_pubpropertyParent

(Inherited from Control.)

System_CAPS_pubpropertyRenderingCompatibility

(Inherited from Control.)

System_CAPS_pubpropertyRequest

(Inherited from UserControl.)

System_CAPS_pubpropertyResponse

(Inherited from UserControl.)

System_CAPS_pubpropertyServer

(Inherited from UserControl.)

System_CAPS_pubpropertySession

(Inherited from UserControl.)

System_CAPS_pubpropertySite

(Inherited from Control.)

System_CAPS_pubpropertySkinID

(Inherited from Control.)

System_CAPS_pubpropertyTempData

Gets the temporary-data dictionary.

System_CAPS_pubpropertyTemplateControl

(Inherited from Control.)

System_CAPS_pubpropertyTemplateSourceDirectory

(Inherited from Control.)

System_CAPS_pubpropertyTrace

(Inherited from UserControl.)

System_CAPS_pubpropertyUniqueID

(Inherited from Control.)

System_CAPS_pubpropertyUrl

Gets the URL for the view.

System_CAPS_pubpropertyValidateRequestMode

(Inherited from Control.)

System_CAPS_pubpropertyViewBag

Gets the view bag.

System_CAPS_pubpropertyViewContext

Gets or sets the view context.

System_CAPS_pubpropertyViewData

Gets or sets the view-data dictionary.

System_CAPS_pubpropertyViewDataKey

Gets or sets the view-data key.

System_CAPS_protpropertyViewState

(Inherited from Control.)

System_CAPS_protpropertyViewStateIgnoresCase

(Inherited from Control.)

System_CAPS_pubpropertyViewStateMode

(Inherited from Control.)

System_CAPS_pubpropertyVisible

(Inherited from Control.)

System_CAPS_pubpropertyWriter

Gets the writer that is used to render the view to the response.

NameDescription
System_CAPS_protmethodAddedControl(Control, Int32)

(Inherited from Control.)

System_CAPS_protmethodAddParsedSubObject(Object)

(Inherited from Control.)

System_CAPS_pubmethodApplyStyleSheetSkin(Page)

(Inherited from Control.)

System_CAPS_protmethodBuildProfileTree(String, Boolean)

(Inherited from Control.)

System_CAPS_protmethodClearCachedClientID()

(Inherited from Control.)

System_CAPS_protmethodClearChildControlState()

(Inherited from Control.)

System_CAPS_protmethodClearChildState()

(Inherited from Control.)

System_CAPS_protmethodClearChildViewState()

(Inherited from Control.)

System_CAPS_protmethodClearEffectiveClientIDMode()

(Inherited from Control.)

System_CAPS_protmethodConstruct()

(Inherited from TemplateControl.)

System_CAPS_protmethodCreateChildControls()

(Inherited from Control.)

System_CAPS_protmethodCreateControlCollection()

(Inherited from Control.)

System_CAPS_protmethodCreateResourceBasedLiteralControl(Int32, Int32, Boolean)

(Inherited from TemplateControl.)

System_CAPS_pubmethodDataBind()

(Inherited from Control.)

System_CAPS_protmethodDataBind(Boolean)

(Inherited from Control.)

System_CAPS_protmethodDataBindChildren()

(Inherited from Control.)

System_CAPS_pubmethodDispose()

(Inherited from Control.)

System_CAPS_protmethodEnsureChildControls()

(Inherited from Control.)

System_CAPS_protmethodEnsureID()

(Inherited from Control.)

System_CAPS_protmethodEnsureViewData()

Ensures that view data is added to the ViewDataDictionary object of the user control if the view data exists.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodEval(String)

(Inherited from TemplateControl.)

System_CAPS_protmethodEval(String, String)

(Inherited from TemplateControl.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodFindControl(String)

(Inherited from Control.)

System_CAPS_protmethodFindControl(String, Int32)

(Inherited from Control.)

System_CAPS_pubmethodFocus()

(Inherited from Control.)

System_CAPS_protmethodGetDesignModeState()

(Inherited from Control.)

System_CAPS_protmethodGetGlobalResourceObject(String, String)

(Inherited from TemplateControl.)

System_CAPS_protmethodGetGlobalResourceObject(String, String, Type, String)

(Inherited from TemplateControl.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetLocalResourceObject(String)

(Inherited from TemplateControl.)

System_CAPS_protmethodGetLocalResourceObject(String, Type, String)

(Inherited from TemplateControl.)

System_CAPS_pubmethodGetRouteUrl(Object)

(Inherited from Control.)

System_CAPS_pubmethodGetRouteUrl(RouteValueDictionary)

(Inherited from Control.)

System_CAPS_pubmethodGetRouteUrl(String, Object)

(Inherited from Control.)

System_CAPS_pubmethodGetRouteUrl(String, RouteValueDictionary)

(Inherited from Control.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetUniqueIDRelativeTo(Control)

(Inherited from Control.)

System_CAPS_pubmethodHasControls()

(Inherited from Control.)

System_CAPS_protmethodHasEvents()

(Inherited from Control.)

System_CAPS_protmethodIsLiteralContent()

(Inherited from Control.)

System_CAPS_pubmethodLoadControl(String)

(Inherited from TemplateControl.)

System_CAPS_pubmethodLoadControl(Type, Object[])

(Inherited from TemplateControl.)

System_CAPS_protmethodLoadControlState(Object)

(Inherited from Control.)

System_CAPS_pubmethodLoadTemplate(String)

(Inherited from TemplateControl.)

System_CAPS_protmethodLoadViewState(Object)

(Inherited from UserControl.)

System_CAPS_pubmethodMapPath(String)

(Inherited from UserControl.)

System_CAPS_protmethodMapPathSecure(String)

(Inherited from Control.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodOnAbortTransaction(EventArgs)

(Inherited from TemplateControl.)

System_CAPS_protmethodOnBubbleEvent(Object, EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnCommitTransaction(EventArgs)

(Inherited from TemplateControl.)

System_CAPS_protmethodOnDataBinding(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnError(EventArgs)

(Inherited from TemplateControl.)

System_CAPS_protmethodOnInit(EventArgs)

(Inherited from UserControl.)

System_CAPS_protmethodOnLoad(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnPreRender(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnUnload(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOpenFile(String)

(Inherited from Control.)

System_CAPS_pubmethodParseControl(String)

(Inherited from TemplateControl.)

System_CAPS_pubmethodParseControl(String, Boolean)

(Inherited from TemplateControl.)

System_CAPS_protmethodRaiseBubbleEvent(Object, EventArgs)

(Inherited from Control.)

System_CAPS_protmethodRemovedControl(Control)

(Inherited from Control.)

System_CAPS_protmethodRender(HtmlTextWriter)

(Inherited from Control.)

System_CAPS_protmethodRenderChildren(HtmlTextWriter)

(Inherited from Control.)

System_CAPS_pubmethodRenderControl(HtmlTextWriter)

(Inherited from Control.)

System_CAPS_protmethodRenderControl(HtmlTextWriter, ControlAdapter)

(Inherited from Control.)

System_CAPS_pubmethodRenderView(ViewContext)

Renders the view by using the specified view context.

System_CAPS_protmethodResolveAdapter()

(Inherited from Control.)

System_CAPS_pubmethodResolveClientUrl(String)

(Inherited from Control.)

System_CAPS_pubmethodResolveUrl(String)

(Inherited from Control.)

System_CAPS_protmethodSaveControlState()

(Inherited from Control.)

System_CAPS_protmethodSaveViewState()

(Inherited from UserControl.)

System_CAPS_protmethodSetDesignModeState(IDictionary)

(Inherited from Control.)

System_CAPS_pubmethodSetRenderMethodDelegate(RenderMethod)

(Inherited from Control.)

System_CAPS_pubmethodSetTextWriter(TextWriter)

Obsolete.Sets the text writer that is used to render the view to the response.

System_CAPS_protmethodSetViewData(ViewDataDictionary)

Sets the view-data dictionary by using the specified view data.

System_CAPS_pubmethodTestDeviceFilter(String)

(Inherited from TemplateControl.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_protmethodTrackViewState()

(Inherited from Control.)

System_CAPS_pubmethodTryUpdateModel<TModel>(TModel)

(Inherited from UserControl.)

System_CAPS_pubmethodTryUpdateModel<TModel>(TModel, IValueProvider)

(Inherited from UserControl.)

System_CAPS_pubmethodUpdateModel<TModel>(TModel)

(Inherited from UserControl.)

System_CAPS_pubmethodUpdateModel<TModel>(TModel, IValueProvider)

(Inherited from UserControl.)

System_CAPS_protmethodXPath(String)

(Inherited from TemplateControl.)

System_CAPS_protmethodXPath(String, IXmlNamespaceResolver)

(Inherited from TemplateControl.)

System_CAPS_protmethodXPath(String, String)

(Inherited from TemplateControl.)

System_CAPS_protmethodXPath(String, String, IXmlNamespaceResolver)

(Inherited from TemplateControl.)

System_CAPS_protmethodXPathSelect(String)

(Inherited from TemplateControl.)

System_CAPS_protmethodXPathSelect(String, IXmlNamespaceResolver)

(Inherited from TemplateControl.)

NameDescription
System_CAPS_pubeventAbortTransaction

(Inherited from TemplateControl.)

System_CAPS_pubeventCommitTransaction

(Inherited from TemplateControl.)

System_CAPS_pubeventDataBinding

(Inherited from Control.)

System_CAPS_pubeventDisposed

(Inherited from Control.)

System_CAPS_pubeventError

(Inherited from TemplateControl.)

System_CAPS_pubeventInit

(Inherited from Control.)

System_CAPS_pubeventLoad

(Inherited from Control.)

System_CAPS_pubeventPreRender

(Inherited from Control.)

System_CAPS_pubeventUnload

(Inherited from Control.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2015 Microsoft