Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Components.YetaWFComponentBase Class

The base class for all components used in YetaWF.

Namespace: YetaWF.Core.Components
Assembly: YetaWF.Core

Inheritance

Syntax

public abstract class YetaWFComponentBase;

Constructors

PublicYetaWFComponentBaseConstructor.

Properties

PublicContainerThe container model for which this component is used/rendered.
PublicControlIdThe HTML id of this component.
PublicDivIdThe HTML id used for a <div> tag.
PublicFieldNameThe HTML field name of the components.
PublicFieldNamePrefixDefines the prefix used when generating an HTML field name for the component. A prefix is typically present with nested components.
PublicHtmlAttributesHTML attributes that were provided to render the component.
PublicHtmlHelperReturns the HtmlHelper instance.
PublicIsContainerComponentReturns whether the component is a container component, i.e., can contain other components.
PublicPropDataDefines the YetaWF.Core.Models.PropertyData instance of the property in the container that this components represents.
PublicPropertyNameDefines the name of the property in the container that this components represents.
PublicValidationDefines whether the component requires client-side validation.
ProtectedStaticManagerThe YetaWF.Core.Support.Manager instance of current HTTP request.

Fields

PublicPackageDefines the package implementing this component.

Methods

PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicGetComponentTypeReturns the component type (edit/display).
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicGetPackageReturns the package implementing the component.
PublicGetSiblingPropertyRetrieves a sibling property. Used to extract related properties from a container, which typically are used for additional component customization.
PublicGetTemplateNameReturns the component name.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
PublicStaticHAEEncodes the provided text suitable for use as an HTML attribute data value.
PublicStaticHEEncodes the provided text suitable for use as HTML.
PublicIncludeStandardDisplayAsyncInclude required JavaScript, Css files when displaying a component, for all components in this package.
PublicIncludeStandardEditAsyncInclude required JavaScript, Css files when editing a component, for all components in this package.
PublicStaticJEEncodes the provided text suitable for use as a JavaScript string.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicInherited from System.ObjectToStringReturns a string that represents the current object.
PublicTryGetSiblingPropertyRetrieves a sibling property. Used to extract related properties from container, which typically are used for additional component customization.
PublicUniqueIdReturns a unique HTML id.

Enums

ProtectedComponentTypeThe component type. YetaWF supports edit components which are used to input data and are modifiable and display components which are used to display data and cannot be modified.

See Also YetaWF.Core Overview