cpr.controls.gridpart.GridStyler
Index
| Name |
Type |
Description |
| disposed |
Boolean |
Returns whether to remove style |
Properties
| type
|
Boolean |
| readonly
|
Returns whether to remove style
|
Methods
Add a class.
| name |
type |
description |
| className
|
String |
class name |
Bind that css property.
| name |
type |
description |
| cssProperty
|
String |
The css attribute name to bind. |
Get all specified CSS properties in JSON format.
| return
|
{[key:string]: String} |
|
Get the attribute CSS property value.
| name |
type |
description |
| key
|
String |
property name to get value |
Specifies the value of a specific CSS property.
| name |
type |
description |
| key
|
String |
CSS property name to assign value to |
| value
|
String |
The value to specify. |
Specify multiple CSS properties at once.
| name |
type |
description |
| json
|
{[key:string]: String} |
A JSON object with keys and values to specify. |
Removes the objects contained in the style.
Returns the default class name.
Get binding information for a specific CSS property.
| name |
type |
description |
| property
|
String |
Style attribute name from which to get binding information. |
| return
|
BindInfo |
Binding information object. |
Returns the value of the corresponding css property.
If no value is returned, it returns to the specified default value.
See
cpr.data.UIControlStyler.getCSS .
| name |
type |
description |
| key
|
String |
|
| defaultValue
|
String |
|
Get the CSS class binding information for the styler.
| return
|
BindInfo |
Class binding information object. |
Returns the class name of the control
Check class ownership.
| name |
type |
description |
| className
|
String |
Class to check. |
| name |
type |
description |
| key
|
String |
|
Set up more than one class.
Unbind the css property.
| name |
type |
description |
| name
|
String |
unBind css property name |