You need to create a value converter class, and bind the Visibility property to it in your xaml.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
In above example, SomeButtonVisibility is a dependency property of type System.Windows.Visibility. I used a Dependency Property as supposed to a common CLR property only because I want take advantage of "Two Way" notification.
I am trying to build a sideways scrolling chart using SilverLight 3. I want to display multiple pieces of data that span a set of numerical values; however, the values are not parallel as they are in a bar chart that has a standard base value for each piece of data. Think of it as a Gantt chart with the top scale being zipcodes and the data being cities that contain the zipcodes. The data would be represented as a horizontal bar that spans a set of zipcodes. I actually looked into modifying a Gantt chart; however, since its primary function is to display data over a period of time, I am not certain if it will work.
Can anybody point me in a possible direction to solve my problem?
My application using 'Pages' and i using wpf navigation to navigate between the pages.
I cant to control the page size and the page location on the screen and i don't know how - because i don't see that there is option to setup the page container.
I see that the page himself has the edit option of width and height - but i want that the size will be as 'auto' mode - and i want to have the ability to use 'auto' of the size change ( case the user will change the page container size => the page size will be change automatically also )
I have set up the following tooltip to show the x and y values of datapoints within a WPF linechart, what I would also like to do is show the index within the collection that the point uses. How do I show this please?