ComponentOne Wijmo Open for Juice UI
Wijmo Open for Juice UI Extender Controls / WijList / WijList Tutorial / Step 2 of 3: Customizing the List
In This Topic
    Step 2 of 3: Customizing the List
    In This Topic

    In this topic you will set some of the properties for the WijList .

    1. In the Visual Studio Properties window, click the drop-down list at the top of the Properties window and select WijList.
    2. Set the WijList.AutoSize property to True.
    3. Set the WijList.MaxItemsCount property to 3. The markup for the WijList will now look like this:
    <cc1:WijList ID="Panel1_WijList" runat="server"
    
            TargetControlID="Panel1" AutoSize="True" MaxItemsCount="3">
    
            <ListItems>
    
                <cc1:ListItem Label="Label1" Value="Value1" />
    
                <cc1:ListItem Label="Label2" Value="Value2" />
    
                <cc1:ListItem Label="Label3" Value="Value3" />
    
                <cc1:ListItem Label="Label4" Value="Value4" />
    
                <cc1:ListItem Label="Label5" Value="Value5" />
    
                <cc1:ListItem Label="Label6" Value="Value6" />
    
          </ListItems>
    
    </cc1:WijList>
    

    Now run the project to see the formatted list.