Framework / Presentation Layer / Graphics / Appearance Styles / Appearance Styles Overview

In This Topic
    Appearance Styles Overview
    In This Topic

    Appearance styles group together properties related to the visual appearance of objects. All types of appearance styles directly or indirectly derive from the NAppearanceStyle class. Each appearance style can create a preview of its actual appearance, which is particularly useful for the visual style editing.

    The NAppearanceStyle class derives from the NAttribute class, that is why in the context of the Nevron DOM, all appearance styles are treated as attributes. In this way, if appearance styles are hosted in a DOM context they will automatically fire events and record history.

    Following is a brief summary of the currently provided appearance styles:

    • Fill Styles - define the object filling (solid color, gradient, hatch etc.)
    • Stroke Style - define the appearance of object edges (color, pattern, width etc.)
    • Image Filters Style - defines the image filters applied to the object filling 
    • Shadow Style - defines the shadow casted by the object (color, offset, type etc.)
    • Text Style - defines the visual appearance of texts (font, filling, backplane etc.)
    • Background Style - defines the appearance of control backgrounds (supports standard and image frame modes) 
    See Also