Click or drag to resize

PFViewHtmlHelper Class

Provides all tools to generate forms, controls and displays of a PFView.
Inheritance Hierarchy
SystemObject
  HtmlHelper
    Packflow.InterfacePFViewHtmlHelper

Namespace:  Packflow.Interface
Assembly:  MicaSystems.Packflow.Interface (in MicaSystems.Packflow.Interface.dll) Version: 1.0.0.0 (2.0.0.223)
Syntax
C#
public class PFViewHtmlHelper : HtmlHelper

The PFViewHtmlHelper type exposes the following members.

Properties
  NameDescription
Public propertyCanUpdate
Gets a value indicating whether the current user can update the shown view.
Public propertyCurrentView
Gets the current view.
Public propertyEditableEntries
Gets the editable properties, excluding "internal" properties, than can only be modified inside Core.
Public propertyHtml5DateRenderingMode (Inherited from HtmlHelper.)
Public propertyIsAdmin
Gets a value indicating whether the user is member of the Site Administrators.
Public propertyIsCTScope
Gets a value indicating whether the view is under a specific content-type.
Public propertyPageContext
Gets the page context.
Public propertyRouteCollection (Inherited from HtmlHelper.)
Public propertyShowContentSelection
Gets a value indicating whether the control allowing content-type selection should be displayed.

Obviously, the control is hidden when the view scope is ContentType.

Public propertyTranslations
Gets the contextual translations provided by Packflow.
Public propertyViewBag (Inherited from HtmlHelper.)
Public propertyViewContext (Inherited from HtmlHelper.)
Public propertyViewData (Inherited from HtmlHelper.)
Public propertyViewDataContainer (Inherited from HtmlHelper.)
Top
Methods
  NameDescription
Public methodAntiForgeryToken (Inherited from HtmlHelper.)
Public methodAntiForgeryToken(String) Obsolete. (Inherited from HtmlHelper.)
Public methodAntiForgeryToken(String, String, String) Obsolete. (Inherited from HtmlHelper.)
Public methodAttributeEncode(String) (Inherited from HtmlHelper.)
Public methodAttributeEncode(Object) (Inherited from HtmlHelper.)
Public methodBeginPackflowForm
Returns an opening "form" tag and sets controller and action information. The form uses the specified HTTP method and includes the HTML attributes from a dictionary.
Public methodContentSelection
Gets the tree control allowing the selection of content-types.
Public methodControlFor
Gets the html of a control, loaded with current view corresponding value.
Public methodControlViewForTProperty
Gets the html of a control, loaded with current view corresponding value.
Public methodControlViewQueryForTProperty
Gets the html of a control, loaded with current view's query corresponding value.
Public methodEnableClientValidation (Inherited from HtmlHelper.)
Public methodEnableClientValidation(Boolean) (Inherited from HtmlHelper.)
Public methodEnableUnobtrusiveJavaScript (Inherited from HtmlHelper.)
Public methodEnableUnobtrusiveJavaScript(Boolean) (Inherited from HtmlHelper.)
Public methodEncode(String) (Inherited from HtmlHelper.)
Public methodEncode(Object) (Inherited from HtmlHelper.)
Public methodFormatValue (Inherited from HtmlHelper.)
Public methodGetAggregationsColumns
Gets the list of aggregations.
Public methodGetAvailableFields
Gets the list of available fields.
Public methodGetFilters
Gets the tree of filters.
Public methodGetGroupsColumns
Gets the list of grouped columns.
Public methodGetIcon
Gets the icon shown in the action bar.
Public methodGetNotificationsFrame
Gets the frame (html) containing notifications.
Public methodGetOrderColumns
Gets the list of order columns.
Public methodGetUnobtrusiveValidationAttributes(String) (Inherited from HtmlHelper.)
Public methodGetUnobtrusiveValidationAttributes(String, ModelMetadata) (Inherited from HtmlHelper.)
Public methodGetViewActions
Gets the buttons shown in the action bar.
Public methodGetViewTitle
Gets the caption of the action bar.
Public methodGetVisibleColumns
Gets the list of visible columns.
Public methodGroupPageSize
Gets the control representing the page size of groups in the view.
Public methodHttpMethodOverride(HttpVerbs) (Inherited from HtmlHelper.)
Public methodHttpMethodOverride(String) (Inherited from HtmlHelper.)
Public methodPageTitle
Gets the text displayed in the title tag of the page.
Public methodRaw(String) (Inherited from HtmlHelper.)
Public methodRaw(Object) (Inherited from HtmlHelper.)
Public methodSetValidationMessageElement (Inherited from HtmlHelper.)
Public methodSetValidationSummaryMessageElement (Inherited from HtmlHelper.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodVisibilityScope
Gets the control representing the visibility scope of the view.
Top
Fields
  NameDescription
Public fieldStatic memberQuerySettingsInput_Aggregations
Name of the hidden input containing aggregations information.
Public fieldStatic memberQuerySettingsInput_Filters
Name of the hidden input containing filters information.
Public fieldStatic memberQuerySettingsInput_Groups
Name of the hidden input containing grouped columns information.
Public fieldStatic memberQuerySettingsInput_Order
Name of the hidden input containing ordered columns information.
Public fieldStatic memberQuerySettingsInput_VisibleColumns
Name of the hidden input containing visible columns information.
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodJson(Boolean)Overloaded.
Returns the JSON representation of the given value.
(Defined by HtmlHelperExtensions.)
Public Extension MethodJson(Object, JavaScriptEncoding, Boolean)Overloaded.
Returns the JSON representation of the given value.
(Defined by HtmlHelperExtensions.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also