Showing posts with label XAML. Show all posts
Showing posts with label XAML. Show all posts

Sunday, June 3, 2012

Listbox in Silverlight horizontally

If you want to show items horizontally using Listbox its quite easy and straightforward. What you all need to do is all

<ListBox>
           <ListBox.ItemsPanel>
                    <ItemsPanelTemplate>
                        <StackPanel Orientation="Horizontal" />
                    </ItemsPanelTemplate>
                </ListBox.ItemsPanel>
</ListBox>


And you will see the list now horizontally :)

Cheers!
Vinod

Pivot Viewer using Silverlight

You can create your own pivotViewer with all the customization. What you need is to generate CXML from your data and pass it to pivotcontrol. It will generate a wonderful chart for you. Once you are done with this thing you will face some issue while deploying on server. Becoz normally IIS doesn't allow CXML request so you need to allow .cxml in MIME type of IIS. If you have any question regarding pivotViewer control write to me.

Regards
Vinod