APNSoft Controls [4.5.2.20]
Customization


Customizing the look-and-feel of APNSoft control is accomplished through the following steps:
  1. Specifying the XML Structure or Data Source.

    The control like a Menu or TreeView uses XML for defining structure since XML is the most convenient format for structured data. You can save the XML structure as a file and bind the control by specifying the StructureFileURL property. Also, you can set the DataSource property to specify a source of data and call the DataBind() method. APNSoft controls provide an extremely rich and powerful server-side API allowing developer to add, remove or edit elements and element collections programmatically. Each component has initial data structure to see the result immediately.


  2. Applying the Skin.

    A Skin is a folder with CSS Style and a set of graphic files that determine the way the control is going to look. A CSS Style consists of predefined classes. You use the SkinFolder property to link the control with Skin. The collection of ready-to-use skins is included in installer. Each component has a default Skin to see the result immediately.


  3. Setting properties.

    To customize behavior and the look and feel of APNSoft control, you set the properties. Properties can be set in three ways:

    • Properties panel in IDE (Visual Studio)
    • ASPX (the Source View)
    • Code Behind (C# or VB.NET)