Directory styles, based on XAML, such as Thumbnail and List directory styles shown on the following screenshot, are entirely defined by coding in a XML configuration file. The language used to generate a dialog box is similar to programming languages, but it is better known as Extensible Application Markup Language (XAML), in other words a markup language for declarative application programming.
On the below screenshot, two directory styles are shown on the first figure, while on the second figure you can see the code that generates them (most of statements are collapsed - the entire code contain 246 lines).
A definition of a directory style box consists in a series of XAML statements that:
•Describe the directory style name, description, type (list or grid), the slider triggers, the references, the auto-refresh options etc, e.g. <DirectoryStyle Name="List" Description="" Height="1" Width="-1" MinimumDetail="10" DefaultDetail="15" MaximumDetail="40" >, or <DirectoryStyle Name="Thumbnails" MinimumDetail="41" DefaultDetail="99" MaximumDetail="100" ObjectReferences="page.layers" RefreshOptions="MonitorContainer RefreshOnAlert">
•Define sorting on displayed data.
•Define the data display style.
See also