Click or drag to resize

PFWidget Class

Represents the part of an ASPX page, providing some sort of features.
Inheritance Hierarchy

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

The PFWidget type exposes the following members.

Constructors
  NameDescription
Public methodPFWidget
Initializes a new instance of the PFWidget class.
Top
Properties
  NameDescription
Public propertyCreationContentType
Gets or sets the default content-type used for item creation.
Public propertyHeight
Gets or sets the height.

Default value: 100%.

Public propertyHeighthResizable
Gets or sets a value indicating whether the widget is vertically resizable.
Public propertyHtmlClass
Gets the additional HTML classes.
Public propertyHtmlId
Gets or sets the HTML identifier.
Protected propertyLogger
Gets the logger, used to log any useful warning, error or information in the database.
Public propertySite
Gets the contextual Packflow Site.
Public propertySourceUrl
Gets the source URL.
Public propertyTitleContent
Gets or sets the html content of the title.
Public propertyTranslations
Gets the contextual translations provided by Packflow.
Public propertyWidth
Gets or sets the width.

Default value: 50%.

Public propertyWidthResizable
Gets or sets a value indicating whether the widget is horizontally resizable.
Top
Methods
  NameDescription
Protected methodGenerateContentHtml
Generates the content HTML, which will take place in the generic placeholder.
Public methodGeneratePlaceHolderHtml
Generates the widget's HTML.
Protected methodGetSettingHtml
Appends the widget's setting to the specified builder, in HTML format.
Public methodGetSettingsHtml
Appends the settings in the builder, in a HTML format. The use of the method "GetSettingHtml" is recommended.
Public methodLoadSettingsFromHtml
Loads the settings from HTML values.

Example: this.SourceUrl = data.TryGetValue("SourceUrl")

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidate
Validates the settings.
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 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