CMSQueryProperties Class |
Namespace: CMS.Controls
public sealed class CMSQueryProperties : CMSAbstractQueryProperties, ICMSQueryProperties, ICMSBaseProperties
The CMSQueryProperties type exposes the following members.
Name | Description | |
---|---|---|
CMSQueryProperties |
Name | Description | |
---|---|---|
ClearCache |
Clears the cached items.
(Inherited from CMSAbstractQueryProperties.) | |
GetCacheDependency |
Gets the cache dependency for the control.
(Inherited from CMSAbstractBaseProperties.) | |
GetDefaultCacheDependencies |
Gets the default cache dependencies for the data source.
(Inherited from CMSAbstractQueryProperties.) | |
LoadData(Boolean) |
Loads data from the database according to the current values of properties.
(Inherited from CMSAbstractQueryProperties.) | |
LoadData(Boolean, Int32, Int32, Int32) |
Loads data from the database according to the current values of properties.
(Inherited from CMSAbstractQueryProperties.) | |
OnInit |
Init event handler.
(Inherited from CMSWebControl.) | |
ReleaseContext |
Releases the control context.
(Inherited from CMSAbstractBaseProperties.) | |
SetContext |
Sets the control context.
(Inherited from CMSAbstractBaseProperties.) |
Name | Description | |
---|---|---|
AddCssClass |
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
CallHandled |
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page.
Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetCssClasses |
Returns all CSS classes of control.
(Defined by ControlsExtensions.) | |
GetRenderedHTML |
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
HasCssClass |
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
RemoveCssClass |
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
SetCssClasses |
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
mControlContext |
Control context.
(Inherited from CMSAbstractBaseProperties.) | |
mParent |
Parent control.
(Inherited from CMSAbstractBaseProperties.) | |
mStopProcessing |
Stop processing this control.
(Inherited from CMSAbstractBaseProperties.) |
Name | Description | |
---|---|---|
CacheDependencies |
Cache dependencies, each cache dependency on a new line.
(Inherited from CMSAbstractBaseProperties.) | |
CacheItemName |
Name of the cache item the control will use.
(Inherited from CMSAbstractBaseProperties.) | |
CacheMinutes |
Number of minutes the retrieved content is cached for. Zero indicates that the content will not be cached.
(Inherited from CMSAbstractQueryProperties.) | |
ControlContext |
Control context.
(Inherited from CMSAbstractBaseProperties.) | |
ControlTagKey |
Overrides the generation of the SPAN tag with custom tag.
(Inherited from CMSAbstractBaseProperties.) | |
ForceCacheMinutes |
Gets or sets the value that indicates whether cache minutes must be set manually (Cache minutes value is independent on view mode and cache settings)
(Inherited from CMSAbstractQueryProperties.) | |
IsLiveSite |
Indicates if control is used on live site.
(Inherited from CMSWebControl.) | |
IsSelected |
Gets or sets the value that indicates whether current datasource contains selected item.
(Inherited from CMSAbstractQueryProperties.) | |
OrderBy |
ORDER BY part of the SQL statement.
(Inherited from CMSAbstractBaseProperties.) | |
PageSize |
Number of items per page.
(Inherited from CMSAbstractQueryProperties.) | |
ParentControl |
Parent control.
(Inherited from CMSAbstractBaseProperties.) | |
QueryName |
Query name in format application.class.query.
(Inherited from CMSAbstractQueryProperties.) | |
QueryParameters |
Query parameters.
(Inherited from CMSAbstractQueryProperties.) | |
SelectedColumns |
Gets or sets the columns to be retrieved from database.
(Inherited from CMSAbstractBaseProperties.) | |
SelectedDatabaseColumnName |
Gets or sets columns name by which the item is selected.
(Inherited from CMSAbstractQueryProperties.) | |
SelectedQueryStringKeyName |
Gets or sets query string key name. Presence of the key in query string indicates,
that some item should be selected. The item is determined by query string value.
(Inherited from CMSAbstractQueryProperties.) | |
SelectedValidationType |
Gets or sets validation type for query string value which determines selected item.
Options are int, guid and string.
(Inherited from CMSAbstractQueryProperties.) | |
SelectTopN |
Select top N rows.
(Inherited from CMSAbstractQueryProperties.) | |
ShortID |
Short ID of the control.
(Inherited from CMSWebControl.) | |
SiteName |
Site code name.
(Inherited from CMSAbstractBaseProperties.) | |
StopProcessing |
Indicates if processing of the control should be stopped and the control should not retrieve or display any data.
(Inherited from CMSAbstractBaseProperties.) | |
TopN |
Select top N rows.
(Inherited from CMSAbstractBaseProperties.) | |
UIContext |
Returns control's UI context
(Inherited from CMSWebControl.) | |
WhereCondition |
WHERE part of the SQL statement.
(Inherited from CMSAbstractBaseProperties.) |