This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi,Jason.I have some questions as follows: MulticolumnTreeView :In your samples,I find that you don't set the style of MultiColumnTreeView,but when I run the project,the style of MulticolumnTreeView exists. Codes in your samples project are like this:
My Codes like this:
There are quit different.I want the style of your sample project,how to do it? Another question is about Chart. I set the title of XAxis in Chart,usually no problems.But when I set the Chart in a tooltip or a MulticolumnTreeView CellTemplate,it's no effect. My Code is like this:
Although I set the title of XAxis ,but it's no effect.I want the effect you show to us in this link: http://www.mindscapehq.com/blog/index.php/2012/01/23/datagrid-customization-with-elements-5-sparklines-template-selectors-and-more/ .But the title of XAxis and coordinate axis still exist. How to solve it? |
|
|
Hello, Firstly apologies for the delay. The theme for the demos in the Sample Explorer is set using a bit of custom markup/code, thus it doesn't appear in the XAML for the actual MulticolumnTreeView demo (or any of the others). To add one of our themes to your application just add the appropriate tag to the control you wish it to be applied to. If you want one of our styles applied uniformly over your whole Page/Window just add it to Window.Resources etc. Or, if you just want the theme applied to the MulticolumnTreeView control and nothing else you could do this:
Regarding your second question, just to clarify, did you want to hide only the Title, or both the Title and the Axes? If you wish to hide both the following will achieve it:
This was the effect used in the blog post demo. Please note you will need a current build for this to work - we suggest updating to the latest nightly. If you wish to keep the axes visible let us know and we'll get back to you, and any other questions please ask. Regards, Callum |
|
|
Thx,Callum. As far the second question,it doesn't still work. My code is like this:`
I set the visibility of ChartAxis ,but the Title and the Axes still exist ! |
|
|
We were unable to reproduce this on our end; your above code seems to be working fine here apart from a couple of minor differences - I had to set the Width & Height on the Chart tag, and the BarSeries' ItemSource binding was set directly to a DateTimeDouble collection, without using your converter (but this shouldn't matter). Just to clarify you have indeed installed the latest nightly build of WPF Elements? You can download it from your account page here: http://www.mindscapehq.com/store/myaccount This issue did require a bugfix but it should be working now in recent builds. If you're still seeing the axes after installing the latest please send us a simple repro and we'll get back to you. |
|
|
I download WPF Elements 5 with source ,but it doesn't work. Usually it works but when I set the Visibility of the Chart in a MulticolumnTreeView cell Template or tooltip ,it doesn't. If I put a Chart Control in a grid and set the Visibility ofChartAxis like this: |
|
|
In a tooltip ,it is OK ,but in a MulticolumnTreeView ,it doesn't! I test it in a MulticolumnTreeView ,code is like this:
I set Visibility is Hidden or Collapsed, the titils and the ChartAxis still exist ! |
|
|
We're still unable to replicate that behavior - your above code works fine for us. Please download the latest nightly build of WPF Elements from your account page again then install it. Once you have open up an Explorer window, navigate to Program Files (x86)\Mindscape\WPF Elements\Bin then right click on Mindscape.WpfElements.dll, select Properties and under the Details tab tell us what build number the program version is. If you still are seeing the axis & titles with Visibility="Collapsed" and the latest build please create a small repro project displaying the incorrect behavior, zip it up, attach it to your post and we'll get back to you. |
|
|
Could you also go into Visual Studio Solution Explorer, open the project's References folder, right-click on the Mindscape.WpfElements reference, choose Properties and tell us what you see against "Version" in the property grid. This will help us diagnose if the reference has got messed up somehow. Could you also do a right-click > Clean Solution on the solution and rebuild it? Sometimes Visual Studio does not rebuild projects when a DLL has been updated. |
|
|
I have tried these ways,but no effect. your email is ? I can't upload the rar. Version is 5.0. I can send the project rar to you by email. I have uploaded the rar for 2 hours,but no results. |
|
|
Uploading files fails |
|
|
You can send the sample to jason@mindscape.co.nz Regards -Jason |
|
|
Your email refuse to accept files which end with .uu .pif .scr .mim .hqx .bhx .cmd .vbs .bat .com .vbe .vb .js .wsh. Personal email ? |
|
|
My personal email is quantumnightmare@hotmail.com if this still doesn't work, you could try changing the extension of the .rar to be .txt, or you could try put a password on the .rar file. Also make sure to delete any binaries before compressing and sending it. -Jason |
|
|
Thx,Jason. It's solved~~ |
|