Styling > Introducing Cascading Style Sheets > Retrieving the Value of a Property

When you use CSS and implement your own graphic renderer or graphic class, you might be interested in the value of certain graphic properties. Property values can be retrieved with the class IlpGraphicRendererContext. This class provides the methods described below.

How to Retrieve the Value of a Property
object."Alarm" {
    label: @identifier;
    iconVisible: true;
}
object."Alarm/creationTime" {
    label: '@|format(@#labelFormat,@creationTime)';
    toolTipText: '@|format(@#toolTipFormat,@creationTime)';
}
attribute."Alarm/creationTime" {
    label: "Created";
    toolTipText: "Creation time";
    preferredWidth: 130;
}