We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Linear Gauge does not work in a Data Template

Thread ID:

Created:

Updated:

Platform:

Replies:

119862 Aug 7,2015 03:40 PM UTC Mar 30,2018 09:02 AM UTC WPF 3
loading
Tags: LinearGauge
Chris John
Asked On August 7, 2015 03:40 PM UTC

Hi there,

I am trying to get the LinearGauge to work in the DataTemplate of a bound WPF ListView. However, it doesn't seem to work in this scenario. A gauge is displayed for each item in the list that the ListView is bound to, but each gauge is only displayed with its default properties - neither static or bound properties have any effect on the appearance. 

By way of example, I have boiled this down to the simplest example of simply trying to show a list of gauges with the Maximum scale value set to 500. However, what is displayed is a list of gauges with their default maximum of 100.

        <ListView ItemsSource="{Binding ListOfThings}">
            <ListView.ItemTemplate>
                <DataTemplate>

                    <syncfusion:SfLinearGauge>
                        <syncfusion:SfLinearGauge.MainScale>
                            <syncfusion:LinearScale Maximum="500" >

                            </syncfusion:LinearScale>
                        </syncfusion:SfLinearGauge.MainScale>
                    </syncfusion:SfLinearGauge>
                    
                </DataTemplate>
            </ListView.ItemTemplate>
        </ListView>    


Is this a bug or an unsupported scenario?

Thanks
Chris



Vigneshkumar Ramasamy [Syncfusion]
Replied On August 8, 2015 08:46 AM UTC

Hi Chris,

Thanks for using Syncfusion products. We have created a support incident under your account to track the status of this Query.

Please log on to our support website to check for further updates.

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Please let us know if you have any concerns.

Regards

Vigneshkumar R.


myron
Replied On March 30, 2018 12:18 AM UTC

yes

Sri Gayathri Gopalakrishnan [Syncfusion]
Replied On March 30, 2018 09:02 AM UTC

Hi Myron, 
 
Please let us know your requirement in specific so that we can assist you promptly. 
 
Regards, 
Sri Gayathri. G 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;