Grid related UI design question

Posted by younevertell on Stack Overflow See other posts from Stack Overflow or by younevertell
Published on 2010-04-26T23:40:40Z Indexed on 2010/04/26 23:43 UTC
Read the original article Hit count: 157

Filed under:
|
|

Grid related UI design question

I want some 16-grid (4 rows and 4 columns) user interface, and fill the grid with some round shapes. I also want to use the MouseOver, mouse left button down, and Mouse Left Button Up events to set the state of grids as selected or not selected.

My questions: 1. How fill the grid with some round shapes? by SetColumn and SetRow? 2. How to make the grids respond to the mouse please?

Thanks

   <Grid.ColumnDefinitions>
        <ColumnDefinition />
        <ColumnDefinition />
        <ColumnDefinition />
        <ColumnDefinition />
    </Grid.ColumnDefinitions>
    <Grid.RowDefinitions>
        <RowDefinition />
        <RowDefinition />
        <RowDefinition />
        <RowDefinition />
    </Grid.RowDefinitions>

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf