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.

PivotGridControl Theme

Thread ID:

Created:

Updated:

Platform:

Replies:

123311 Mar 7,2016 04:22 AM Mar 10,2016 07:37 AM WPF 3
loading
Tags: PivotGridControl
Juraj Tomana
Asked On March 7, 2016 04:22 AM

Hi.

I'm trying to override PivotGridControl to define my own behavior, but I have problems with styles. 

See attached sample...

Why the style of MyPivotGridControl is different from PivotGridControl?

Thanks.
Regards,
Juraj



Attachment: OlapTest_d83bf478.zip

Saranya Chandrasekaran [Syncfusion]
Replied On March 9, 2016 12:26 AM

Hi Juraj,

Thank you for providing the sample.

We have modified the given sample to resolve the reported problem – “style of MyPivotGridControl is different from PivotGridControl”. Please refer the sample from the following link.

Sample Link:
http://www.syncfusion.com/downloads/support/forum/123311/ze/OlapTest1673855428

In this sample, we have removed the VisualStyle applied to PivotGrid control.

Regards,
Saranya C.

Juraj Tomana
Replied On March 9, 2016 06:34 AM

Hi.

Thanks, but I don't understand, why when I set 

sfshared:SkinStorage.VisualStyle="Office2010Blue"

for MainWindow, syncfusion:PivotGridControl looks differently from MyPivotGridControl (see attached screenshot). 

In Themes\Generic.xaml I have defined:
<Style TargetType="controls:MyPivotGridControl" BasedOn="{StaticResource {x:Type syncfusion:PivotGridControl}}"/>


Thanks.
Regards,
Juraj

Attachment: Image_6_d7607658.zip

Saranya Chandrasekaran [Syncfusion]
Replied On March 10, 2016 07:37 AM

Hi Juraj,

We have modified the given sample to apply style to the derived PivotGridControl. Please refer to the sample from the following link.

Sample Link:

http://www.syncfusion.com/downloads/support/forum/123311/ze/OlapTest1278056495

NOTE:

We have set ResourceReference to the derived PivotGridControl, since our SkinManager ignores to apply Resource reference for any derived controls.

Regards,
Saranya C.

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.

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.

;