private void radGridView1_MasterGridViewTemplate_GroupingChanged(object sender, ListChangedEventArgs e) |
{ |
if (this.radGridView1.ShowGroupPanel == true) |
{ |
this.radGridView1.ShowGroupPanel = false; |
} |
else |
{ |
this.radGridView1.ShowGroupPanel = true; |
} |
} |
ThemeResolutionService.RegisterThemeFromStorage(ThemeStorageType.Resource, string.Format("My.Client.Resources.{0}", Properties.Settings.Default.ThemeName));
ThemeResolutionService.ApplicationThemeName = Properties.Settings.Default.ThemeName;
i would think that the actual theme that will be used for the application is the theme registered in ThemeResolutionService.ApplicationThemeName ?
nothing seem's to change. Everything is like a reset. And yes my theme is embedded in resources and well known. When i open it with the theme builder i see it fine too.
Could you please provide just a couple lines of code that
1-register some theme (so user can change later)
2-set's a default theme for the application.
3-use it !
thanks
ps: sorry to mention this but your documentation is way incomplete! and half your sample are to basic or not complete.
for (int i = 0; i < iCount; i++)
{
// Add a new item
ChartAxisItem pAxisItem = new ChartAxisItem(pGroup.DisplayName);
pAxisItem.Appearance.RotationAngle = -90.0f;
pAxisItem.Appearance.Position.AlignedPosition = Telerik.Charting.Styles.AlignedPositions.TopRight;
radChart.PlotArea.XAxis.Items.Add(pAxisItem);
}
No matter what I try the label rotation doesn't seem to work as I intend. I am trying to get the label to point straight down but to be aligned to the centre of the bar it is beneath. There are a myriad of options but the online help says nothing on this issue???
Please help