Own saved theme fails to load

8 posts, 0 answers
  1. Lovsten
    Lovsten avatar
    72 posts
    Member since:
    Aug 2007

    Posted 30 Aug 2007 Link to this post

    I've just started to use the Theme manager. Starting off with the Vista theme for the gridview. Watched the videos you got here in support and did similar to what was shown there. Just changed the new row color from blue to linear green. Saved the theme with my own name 'Green row'. Created a theme manager and loaded the saved xml. The name show in the lista of themes but when I select it I get this error:

    Error setting value 'Green row' to property 'ThemeName'. Details: Object reference not set to an instance of an object.

    If I try to open the new theme file in the Theme Manager I get this error:
    Unhandled exception has occured in your application.... bla bla... Object reference not set to an instance of an object.

    In details:
    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
       at Telerik.WinControls.XmlPropertySetting.DeserializeProperty(String property)
       at Telerik.WinControls.XmlAnimatedPropertySetting.Deserialize()
       at Telerik.WinControls.XmlStyleSheet.GetStyleSheet()
       at Telerik.WinControls.Themes.Design.ThemeDesigner.InitializePreviewControls()
       at Telerik.WinControls.Themes.Design.ThemeDesigner.openToolStripMenuItem_Click(Object sender, EventArgs e)
       at Telerik.WinControls.RadItem.OnClick(EventArgs e)
       at Telerik.WinControls.UI.RadButtonItem.OnClick(EventArgs e)
       at Telerik.WinControls.UI.RadMenuItemBase.OnClick(EventArgs e)
       at Telerik.WinControls.UI.RadMenuItem.OnClick(EventArgs e)
       at Telerik.WinControls.RadItem.DoClick(EventArgs e)
       at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)
       at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args)
       at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)
       at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args)
       at Telerik.WinControls.RadElement.DoMouseUp(MouseEventArgs e)
       at Telerik.WinControls.RadControl.OnMouseUp(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at Telerik.WinControls.RadControl.WndProc(Message& m)
       at Telerik.WinControls.UI.RadPopupControl.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    *****
    I guess you want to have a look at the xml file but I cant find a way to attach a file in here so I just give it to you here:
    <?xml version="1.0" encoding="utf-8"?>
    <XmlTheme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ThemeName="Green Row">
      <BuilderRegistrations>
        <XmlStyleBuilderRegistration BuilderType="Telerik.WinControls.DefaultStyleBuilder">
          <BuilderData xsi:type="XmlStyleSheet">
            <PropertySettingGroups>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="False" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.GridGroupPanel" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.FillPrimitive.GradientStyle" Value="Linear" />
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.FillPrimitive.GradientAngle" Value="90" />
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.FillPrimitive.GradientPercentage" Value="0.4625323" />
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.FillPrimitive.GradientPercentage2" Value="0.467700273" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.BackColor" Value="253, 254, 254" />
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.FillPrimitive.BackColor2" Value="241, 248, 251" />
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.FillPrimitive.BackColor3" Value="223, 240, 248" />
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.FillPrimitive.BackColor4" Value="217, 235, 245" />
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.FillPrimitive.NumberOfColors" Value="4" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.SmoothingMode" Value="AntiAlias" />
                </PropertySettings>
                <Selectors>
                  <XmlClassSelector ElementClass="GroupPanelItemFill" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.ForeColor" Value="Black" />
                  <XmlPropertySetting Property="Telerik.WinControls.RadElement.Shape" Value="Telerik.WinControls.RoundRectShape|1" />
                  <XmlPropertySetting Property="Telerik.WinControls.RadElement.Padding" Value="3, 3, 3, 3" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.BackColor" Value="254, 254, 254" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor2" Value="254, 254, 254" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor3" Value="243, 244, 246" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor4" Value="240, 241, 243" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientStyle" Value="Linear" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage" Value="0.315245479" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage2" Value="0.333333343" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.NumberOfColors" Value="4" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderGradientStyle" Value="Solid" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderColor" Value="222, 215, 222" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.GridGroupHeaderItemsContainer" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.ForeColor" Value="33, 62, 110" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.Primitives.ArrowPrimitive" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings />
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.Primitives.TextPrimitive" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings />
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.RootRadElement" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderRightWidth" Value="0" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderBottomWidth" Value="0" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderBoxStyle" Value="FourBorders" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderLeftColor" Value="222, 215, 222" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderTopColor" Value="222, 215, 222" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.GridHeaderElement" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.Font" Value="Tahoma, 9.75pt" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.TextRenderingHint" Value="ClearTypeGridFit" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.GridTableElement.TableHeaderHeight" Value="27" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.GridTableElement.GroupHeaderHeight" Value="22" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.GridTableElement.ScrollBarThemeName" Value="Vista" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.GridTableElement.MenuThemeName" Value="Vista" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderGradientStyle" Value="Solid" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderColor" Value="222, 215, 222" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientStyle" Value="Solid" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.BackColor" Value="White" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.GridTableElement.DrawHorizontalOuterBorder" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.GridTableElement.DrawVerticalOuterBorder" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.GridTableElement.GridBorderWidth" Value="1" />
                  <XmlPropertySetting Property="Telerik.WinControls.RadElement.Padding" Value="5, 5, 0, 0" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.GridTableElement" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderBoxStyle" Value="FourBorders" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderTopColor" Value="222, 215, 222" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderRightWidth" Value="0" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderLeftColor" Value="222, 215, 222" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderBottomWidth" Value="0" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderLeftWidth" Value="0" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.GridTableBodyElement" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.FillPrimitive.GradientStyle" Value="Solid" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.BackColor" Value="230, 240, 254" />
                </PropertySettings>
                <Selectors>
                  <XmlClassSelector ElementClass="GroupPanelFill" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.BorderPrimitive.BoxStyle" Value="OuterInnerBorders" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.ForeColor" Value="149, 216, 248" />
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.BorderPrimitive.InnerColor" Value="245, 250, 252" />
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.BorderPrimitive.GradientStyle" Value="Solid" />
                </PropertySettings>
                <Selectors>
                  <XmlClassSelector ElementClass="GroupPanelItemBorder" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.BackColor" Value="226, 246, 254" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor2" Value="226, 246, 254" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor3" Value="188, 236, 254" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor4" Value="182, 230, 250" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderColor" Value="104, 186, 226" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage" Value="0.385012925" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage2" Value="0.4108527" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderGradientStyle" Value="Solid" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.GridGroupHeaderItemsContainer">
                    <Condition xsi:type="XmlSimpleCondition">
                      <Setting Property="Telerik.WinControls.VisualElement.IsMouseOver" Value="True" />
                    </Condition>
                  </XmlTypeSelector>
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings />
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.GridGroupHeaderList" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.BackColor" Value="254, 254, 254" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor2" Value="254, 254, 254" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor3" Value="243, 244, 246" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage2" Value="0.333333343" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor4" Value="240, 241, 243" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.GridGroupHeaderItem" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.NumberOfColors" Value="4" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage" Value="0.315245479" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderGradientStyle" Value="Solid" />
                  <XmlPropertySetting Property="Telerik.WinControls.RadItem.FlipText" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientStyle" Value="Solid" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.GridGroupHeaderItem">
                    <Condition xsi:type="XmlSimpleCondition">
                      <Setting Property="Telerik.WinControls.VisualElement.IsMouseOver" Value="True" />
                    </Condition>
                  </XmlTypeSelector>
                </Selectors>
              </XmlPropertySettingGroup>
            </PropertySettingGroups>
          </BuilderData>
          <StylesheetRelations>
            <RadStylesheetRelation RegistrationType="ElementTypeControlType" ControlType="Telerik.WinControls.UI.RadGridView" ElementType="Telerik.WinControls.RootRadElement" ControlName="" ElementName="" />
          </StylesheetRelations>
        </XmlStyleBuilderRegistration>
        <XmlStyleBuilderRegistration BuilderType="">
          <BuilderData xsi:type="XmlStyleSheet">
            <PropertySettingGroups>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientStyle" Value="Linear" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientAngle" Value="90" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage" Value="0.385012925" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage2" Value="0.4108527" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.NumberOfColors" Value="4" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderColor" Value="104, 186, 226" />
                  <XmlAnimatedPropertySetting EndValue="226, 246, 254" Interval="0" Property="Telerik.WinControls.VisualElement.BackColor" />
                  <XmlAnimatedPropertySetting EndValue="226, 246, 254" Interval="0" Property="Telerik.WinControls.UI.LightVisualElement.BackColor2" />
                  <XmlAnimatedPropertySetting EndValue="188, 236, 254" Interval="0" Property="Telerik.WinControls.UI.LightVisualElement.BackColor3" />
                  <XmlAnimatedPropertySetting EndValue="182, 230, 250" Interval="0" Property="Telerik.WinControls.UI.LightVisualElement.BackColor4" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="True" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.GridHeaderCellElement">
                    <Condition xsi:type="XmlSimpleCondition">
                      <Setting Property="Telerik.WinControls.VisualElement.IsMouseOver" Value="True" />
                    </Condition>
                  </XmlTypeSelector>
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.ForeColor" Value="Black" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.Font" Value="Tahoma, 9.75pt" />
                </PropertySettings>
                <Selectors>
                  <XmlClassSelector ElementClass="RowFill" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage" Value="0.315245479" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage2" Value="0.333333343" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.NumberOfColors" Value="4" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.BackColor" Value="254, 254, 254" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor2" Value="254, 254, 254" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor3" Value="243, 244, 246" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor4" Value="240, 241, 243" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderColor" Value="212, 212, 212" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.GridRowHeaderCellElement" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientStyle" Value="Linear" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientAngle" Value="90" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage" Value="0.315245479" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage2" Value="0.333333343" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.BackColor" Value="254, 254, 254" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor2" Value="254, 254, 254" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor3" Value="243, 244, 246" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor4" Value="240, 241, 243" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.NumberOfColors" Value="4" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderColor" Value="222, 215, 222" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.SmoothingMode" Value="AntiAlias" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderGradientStyle" Value="Solid" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.GridHeaderCellElement" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.BackColor" Value="254, 254, 254" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor2" Value="254, 254, 254" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor3" Value="243, 244, 246" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor4" Value="240, 241, 243" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderColor" Value="222, 215, 222" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientStyle" Value="Linear" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.NumberOfColors" Value="4" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage" Value="0.315245479" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage2" Value="0.333333343" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderGradientStyle" Value="Solid" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.GridHeaderIndentCellElement" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.BackColor" Value="254, 254, 254" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor2" Value="254, 254, 254" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor3" Value="243, 244, 246" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor4" Value="240, 241, 243" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderColor" Value="222, 215, 222" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientStyle" Value="Linear" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.NumberOfColors" Value="4" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage" Value="0.315245479" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage2" Value="0.333333343" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderGradientStyle" Value="Solid" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.GridTableHeaderCellElement" />
                </Selectors>
              </XmlPropertySettingGroup>
            </PropertySettingGroups>
          </BuilderData>
          <StylesheetRelations>
            <RadStylesheetRelation RegistrationType="ElementTypeControlType" ControlType="Telerik.WinControls.UI.RadGridView" ElementType="Telerik.WinControls.UI.GridHeaderRowElement" ControlName="" ElementName="" />
          </StylesheetRelations>
        </XmlStyleBuilderRegistration>
        <XmlStyleBuilderRegistration BuilderType="">
          <BuilderData xsi:type="XmlStyleSheet">
            <PropertySettingGroups>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientStyle" Value="Solid" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientAngle" Value="90" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage" Value="0.5" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage2" Value="0.666" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.BackColor" Value="240, 241, 243" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor2" Value="Control" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor3" Value="ControlDark" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor4" Value="ControlLightLight" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.NumberOfColors" Value="2" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderColor" Value="212, 212, 212" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderTopWidth" Value="0" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderBoxStyle" Value="FourBorders" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderLeftWidth" Value="0" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderRightColor" Value="239, 235, 239" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderBottomWidth" Value="0" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.FilterEditorElement" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings />
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.Primitives.TextPrimitive" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.ForeColor" Value="27, 195, 246" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.RadButtonElement" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.FillPrimitive.GradientStyle" Value="Solid" />
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.FillPrimitive.GradientAngle" Value="90" />
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.FillPrimitive.GradientPercentage" Value="0.8" />
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.FillPrimitive.GradientPercentage2" Value="1" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.BackColor" Value="231, 244, 252" />
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.FillPrimitive.BackColor2" Value="White" />
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.FillPrimitive.BackColor3" Value="Blue" />
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.FillPrimitive.BackColor4" Value="128, 255, 255" />
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.FillPrimitive.NumberOfColors" Value="2" />
                  <XmlPropertySetting Property="Telerik.WinControls.RadElement.ShouldPaint" Value="False" />
                </PropertySettings>
                <Selectors>
                  <XmlClassSelector ElementClass="ButtonFill" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.RadElement.Visibility" Value="Collapsed" />
                </PropertySettings>
                <Selectors>
                  <XmlClassSelector ElementClass="ButtonBorder" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings />
                <Selectors>
                  <XmlClassSelector ElementClass="ButtonFocus" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.BackColor" Value="White" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.RadTextBoxItem" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.FillPrimitive.GradientStyle" Value="OfficeGlassRect" />
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.FillPrimitive.GradientAngle" Value="90" />
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.FillPrimitive.GradientPercentage" Value="0.8" />
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.FillPrimitive.GradientPercentage2" Value="1" />
                  <XmlPropertySetting Property="Telerik.WinControls.Primitives.FillPrimitive.NumberOfColors" Value="2" />
                  <XmlAnimatedPropertySetting EndValue="White" Interval="0" Property="Telerik.WinControls.VisualElement.BackColor" />
                  <XmlAnimatedPropertySetting EndValue="White" Interval="0" Property="Telerik.WinControls.Primitives.FillPrimitive.BackColor2" />
                  <XmlAnimatedPropertySetting EndValue="Blue" Interval="0" Property="Telerik.WinControls.Primitives.FillPrimitive.BackColor3" />
                  <XmlAnimatedPropertySetting EndValue="Cyan" Interval="0" Property="Telerik.WinControls.Primitives.FillPrimitive.BackColor4" />
                </PropertySettings>
                <Selectors>
                  <XmlClassSelector ElementClass="ButtonFill">
                    <Condition xsi:type="XmlSimpleCondition">
                      <Setting Property="Telerik.WinControls.VisualElement.IsMouseOver" Value="True" />
                    </Condition>
                  </XmlClassSelector>
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings />
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.Layouts.ImageAndTextLayoutPanel" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.BackColor" Value="240, 241, 243" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientStyle" Value="Solid" />
                </PropertySettings>
                <Selectors>
                  <XmlClassSelector ElementClass="RowFill" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.ForeColor" Value="White" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.RadButtonElement">
                    <Condition xsi:type="XmlSimpleCondition">
                      <Setting Property="Telerik.WinControls.VisualElement.IsMouseOver" Value="True" />
                    </Condition>
                  </XmlTypeSelector>
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="False" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.GridIndentCellElement" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="False" />
                </PropertySettings>
                <Selectors>
                  <XmlClassSelector ElementClass="DataCell" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings />
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.Primitives.ImagePrimitive" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="False" />
                </PropertySettings>
                <Selectors>
                  <XmlClassSelector ElementClass="FilterRowHeader" />
                </Selectors>
              </XmlPropertySettingGroup>
            </PropertySettingGroups>
          </BuilderData>
          <StylesheetRelations>
            <RadStylesheetRelation RegistrationType="ElementTypeControlType" ControlType="Telerik.WinControls.UI.RadGridView" ElementType="Telerik.WinControls.UI.GridFilterRowElement" ControlName="" ElementName="" />
          </StylesheetRelations>
        </XmlStyleBuilderRegistration>
        <XmlStyleBuilderRegistration BuilderType="">
          <BuilderData xsi:type="XmlStyleSheet">
            <PropertySettingGroups>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderColor" Value="ControlLightLight" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderBoxStyle" Value="FourBorders" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderTopWidth" Value="0" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.BackColor" Value="ControlLightLight" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor2" Value="Control" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor3" Value="ControlDark" />
                </PropertySettings>
                <Selectors>
                  <XmlClassSelector ElementClass="RowHeaderCell" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientStyle" Value="Solid" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.BackColor" Value="Control" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderBoxStyle" Value="FourBorders" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderLeftWidth" Value="0" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderRightWidth" Value="0" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderTopWidth" Value="0" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderBottomColor" Value="ControlLight" />
                </PropertySettings>
                <Selectors>
                  <XmlClassSelector ElementClass="IndentCell" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderBoxStyle" Value="FourBorders" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderLeftColor" Value="ControlLight" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderRightColor" Value="ControlLight" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderTopColor" Value="ControlLight" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderBottomColor" Value="ControlLight" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderTopWidth" Value="0" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderLeftWidth" Value="0" />
                </PropertySettings>
                <Selectors>
                  <XmlClassSelector ElementClass="DataCell" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientStyle" Value="Solid" />
                </PropertySettings>
                <Selectors>
                  <XmlClassSelector ElementClass="DataCell">
                    <Condition xsi:type="XmlSimpleCondition">
                      <Setting Property="Telerik.WinControls.UI.GridCellElement.IsPinned" Value="True" />
                    </Condition>
                  </XmlClassSelector>
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.ForeColor" Value="ControlText" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderBoxStyle" Value="FourBorders" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderTopColor" Value="ControlLight" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderRightColor" Value="ControlLight" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderLeftColor" Value="ControlLight" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderBottomColor" Value="ControlLight" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderLeftWidth" Value="0" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderTopWidth" Value="0" />
                </PropertySettings>
                <Selectors>
                  <XmlClassSelector ElementClass="NewRowFill" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.BackColor" Value="0, 105, 0" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientStyle" Value="Linear" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.ForeColor" Value="HighlightText" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientAngle" Value="90" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage" Value="0.5" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage2" Value="0.6" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor2" Value="0, 205, 0" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor3" Value="0, 255, 0" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor4" Value="0, 155, 0" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.NumberOfColors" Value="4" />
                </PropertySettings>
                <Selectors>
                  <XmlClassSelector ElementClass="NewRowFill">
                    <Condition xsi:type="XmlSimpleCondition">
                      <Setting Property="Telerik.WinControls.UI.GridRowElement.IsCurrent" Value="True" />
                    </Condition>
                  </XmlClassSelector>
                </Selectors>
              </XmlPropertySettingGroup>
            </PropertySettingGroups>
          </BuilderData>
          <StylesheetRelations>
            <RadStylesheetRelation RegistrationType="ElementTypeControlType" ControlType="Telerik.WinControls.UI.RadGridView" ElementType="Telerik.WinControls.UI.GridNewRowElement" ControlName="" ElementName="" />
          </StylesheetRelations>
        </XmlStyleBuilderRegistration>
        <XmlStyleBuilderRegistration BuilderType="">
          <BuilderData xsi:type="XmlStyleSheet">
            <PropertySettingGroups>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.RadElement.Shape" Value="Telerik.WinControls.RoundRectShape|4" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.BackColor" Value="0, 240, 240, 243" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderColor" Value="0, 215, 215, 215" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.Font" Value="Tahoma, 9.75pt" />
                </PropertySettings>
                <Selectors>
                  <XmlClassSelector ElementClass="RowFill" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientStyle" Value="Solid" />
                  <XmlAnimatedPropertySetting EndValue="247, 243, 255" Interval="0" NumFrames="3" Property="Telerik.WinControls.VisualElement.BackColor" />
                  <XmlAnimatedPropertySetting EndValue="215, 215, 215" Interval="0" Property="Telerik.WinControls.UI.LightVisualElement.BorderColor" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderGradientStyle" Value="Solid" />
                </PropertySettings>
                <Selectors>
                  <XmlClassSelector ElementClass="RowFill">
                    <Condition xsi:type="XmlComplexCondition" BinaryOperator="OrOperator">
                      <Condition1 xsi:type="XmlSimpleCondition">
                        <Setting Property="Telerik.WinControls.VisualElement.IsMouseOver" Value="True" />
                      </Condition1>
                      <Condition2 xsi:type="XmlSimpleCondition">
                        <Setting Property="Telerik.WinControls.UI.GridRowElement.IsCurrent" Value="True" />
                      </Condition2>
                    </Condition>
                  </XmlClassSelector>
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="False" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.GridRowHeaderCellElement" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.SmoothingMode" Value="AntiAlias" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.BackColor" Value="0, 0, 128, 255" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientStyle" Value="Solid" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.ForeColor" Value="0, 50, 152" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.ShowHorizontalLine" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.HorizontalLineColor" Value="175, 190, 221" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.TextAlignment" Value="MiddleLeft" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.GridCellElement" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.ForeColor" Value="0, 50, 152" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.GridGroupExpanderCellElement.DrawSignBorder" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.GridGroupExpanderCellElement.DrawSignFill" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.GridGroupExpanderCellElement.SignStyle" Value="Arrow" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.GridGroupExpanderCellElement.SignPadding" Value="1, 3, 1, 3" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.GridGroupExpanderCellElement.SignWidth" Value="2" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.GridGroupExpanderCellElement.SignBorderPadding" Value="5, 5, 5, 5" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.SmoothingMode" Value="AntiAlias" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.GridGroupExpanderCellElement" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlAnimatedPropertySetting EndValue="255, 235, 185" Interval="0" Property="Telerik.WinControls.VisualElement.ForeColor" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.GridGroupExpanderCellElement">
                    <Condition xsi:type="XmlSimpleCondition">
                      <Setting Property="Telerik.WinControls.VisualElement.IsMouseOver" Value="True" />
                    </Condition>
                  </XmlTypeSelector>
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="False" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.GridIndentCellElement" />
                </Selectors>
              </XmlPropertySettingGroup>
            </PropertySettingGroups>
          </BuilderData>
          <StylesheetRelations>
            <RadStylesheetRelation RegistrationType="ElementTypeControlType" ControlType="Telerik.WinControls.UI.RadGridView" ElementType="Telerik.WinControls.UI.GridGroupHeaderElement" ControlName="" ElementName="" />
          </StylesheetRelations>
        </XmlStyleBuilderRegistration>
        <XmlStyleBuilderRegistration BuilderType="">
          <BuilderData xsi:type="XmlStyleSheet">
            <PropertySettingGroups>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.ForeColor" Value="Black" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor2" Value="0, 156, 208, 255" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.BackColor" Value="0, 156, 208, 255" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientStyle" Value="Solid" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientAngle" Value="90" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage" Value="0.5" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage2" Value="1" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.NumberOfColors" Value="2" />
                  <XmlPropertySetting Property="Telerik.WinControls.RadElement.Shape" Value="Telerik.WinControls.RoundRectShape|5" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.SmoothingMode" Value="AntiAlias" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.Font" Value="Tahoma, 9pt" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderColor" Value="0, 152, 221, 252" />
                </PropertySettings>
                <Selectors>
                  <XmlClassSelector ElementClass="RowFill" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderBoxStyle" Value="FourBorders" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderTopWidth" Value="0" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderRightWidth" Value="1" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderLeftWidth" Value="0" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderBottomWidth" Value="0" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderRightColor" Value="239, 235, 239" />
                </PropertySettings>
                <Selectors>
                  <XmlClassSelector ElementClass="DataCell" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlAnimatedPropertySetting EndValue="239, 247, 252" Interval="0" NumFrames="3" Property="Telerik.WinControls.VisualElement.BackColor" />
                  <XmlAnimatedPropertySetting EndValue="215, 239, 251" Interval="0" NumFrames="3" Property="Telerik.WinControls.UI.LightVisualElement.BackColor2" />
                  <XmlAnimatedPropertySetting EndValue="19, 102, 213" Interval="0" NumFrames="3" Property="Telerik.WinControls.UI.LightVisualElement.BackColor3" />
                  <XmlAnimatedPropertySetting EndValue="156, 208, 255" Interval="0" NumFrames="3" Property="Telerik.WinControls.UI.LightVisualElement.BackColor4" />
                  <XmlAnimatedPropertySetting EndValue="152, 221, 252" Interval="0" NumFrames="3" Property="Telerik.WinControls.UI.LightVisualElement.BorderColor" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientStyle" Value="Linear" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientAngle" Value="90" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage" Value="1" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage2" Value="0.666" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.NumberOfColors" Value="2" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="True" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderGradientStyle" Value="Solid" />
                </PropertySettings>
                <Selectors>
                  <XmlClassSelector ElementClass="RowFill" AutoUnapply="False">
                    <Condition xsi:type="XmlSimpleCondition">
                      <Setting Property="Telerik.WinControls.UI.GridRowElement.IsCurrent" Value="True" />
                    </Condition>
                  </XmlClassSelector>
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawBorder" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="False" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientStyle" Value="OfficeGlass" />
                  <XmlPropertySetting Property="Telerik.WinControls.VisualElement.BackColor" Value="Silver" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor2" Value="Gray" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.NumberOfColors" Value="2" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientAngle" Value="90" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage" Value="1" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage2" Value="1" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor3" Value="Black" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor4" Value="ControlLightLight" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.GridRowHeaderCellElement" />
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientStyle" Value="Linear" />
                  <XmlAnimatedPropertySetting EndValue="238, 250, 255" Interval="0" NumFrames="3" Property="Telerik.WinControls.VisualElement.BackColor" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderColor" Value="245, 250, 252" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientAngle" Value="90" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage" Value="0.5" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientPercentage2" Value="0.666" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BackColor2" Value="227, 245, 252" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.NumberOfColors" Value="2" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.BorderGradientStyle" Value="Solid" />
                </PropertySettings>
                <Selectors>
                  <XmlClassSelector ElementClass="RowFill" AutoUnapply="False">
                    <Condition xsi:type="XmlComplexCondition">
                      <Condition1 xsi:type="XmlSimpleCondition">
                        <Setting Property="Telerik.WinControls.VisualElement.IsMouseOver" Value="True" />
                      </Condition1>
                      <Condition2 xsi:type="XmlSimpleCondition" UnaryOperator="NotOperator">
                        <Setting Property="Telerik.WinControls.UI.GridRowElement.IsCurrent" Value="True" />
                      </Condition2>
                    </Condition>
                  </XmlClassSelector>
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlAnimatedPropertySetting EndValue="0, 238, 246, 252" Interval="0" NumFrames="3" Property="Telerik.WinControls.VisualElement.BackColor" />
                  <XmlAnimatedPropertySetting EndValue="0, 238, 246, 252" Interval="0" NumFrames="3" Property="Telerik.WinControls.UI.LightVisualElement.BackColor2" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.GradientStyle" Value="Linear" />
                  <XmlAnimatedPropertySetting EndValue="0, 238, 246, 252" Interval="0" NumFrames="3" Property="Telerik.WinControls.UI.LightVisualElement.BorderColor" />
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.NumberOfColors" Value="1" />
                </PropertySettings>
                <Selectors>
                  <XmlClassSelector ElementClass="RowFill" AutoUnapply="False">
                    <Condition xsi:type="XmlComplexCondition">
                      <Condition1 xsi:type="XmlSimpleCondition" UnaryOperator="NotOperator">
                        <Setting Property="Telerik.WinControls.VisualElement.IsMouseOver" Value="True" />
                      </Condition1>
                      <Condition2 xsi:type="XmlSimpleCondition" UnaryOperator="NotOperator">
                        <Setting Property="Telerik.WinControls.UI.GridRowElement.IsCurrent" Value="True" />
                      </Condition2>
                    </Condition>
                  </XmlClassSelector>
                </Selectors>
              </XmlPropertySettingGroup>
              <XmlPropertySettingGroup>
                <PropertySettings>
                  <XmlPropertySetting Property="Telerik.WinControls.UI.LightVisualElement.DrawFill" Value="False" />
                </PropertySettings>
                <Selectors>
                  <XmlTypeSelector ElementType="Telerik.WinControls.UI.GridIndentCellElement" />
                </Selectors>
              </XmlPropertySettingGroup>
            </PropertySettingGroups>
          </BuilderData>
          <StylesheetRelations>
            <RadStylesheetRelation RegistrationType="ElementTypeControlType" ControlType="Telerik.WinControls.UI.RadGridView" ElementType="Telerik.WinControls.UI.GridRowElement" ControlName="" ElementName="" />
          </StylesheetRelations>
        </XmlStyleBuilderRegistration>
      </BuilderRegistrations>
    </XmlTheme>
  2. Mike
    Admin
    Mike avatar
    640 posts

    Posted 31 Aug 2007 Link to this post

    Hi Lovsten,

    I managed to find where the problem is with the your theme. It seems that there is a slight limitation in the theme serializer and it requires the value attribute be set before PropertyName in the XmlAnimatedPropertySetting xml element.

    I'm not sure what causes the serialization order issue but I'll include this in the list for further processing. I believe this can be resolved for the upcoming release in the mid Sept.

    In the meanwhile, I've converted the theme file and I'm sending it  back to you with a slight change (green rows). Let us know if you need any further assistance.

     
    Regards,
    Mike
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Lovsten
    Lovsten avatar
    72 posts
    Member since:
    Aug 2007

    Posted 03 Sep 2007 Link to this post

    Ok. You file works. But as soon as I do any other change in the Theme manager and saves it, and then thries to open it, it crashes the same way. I cant do anything in the Theme manager. This makes it basicly usable for me at this time. Certainly hope you will come out with a fix for this soon.
  5. Lovsten
    Lovsten avatar
    72 posts
    Member since:
    Aug 2007

    Posted 06 Sep 2007 Link to this post

    This problem still exists in Q2 Beta. Not listed in known issues
  6. Dimitar Kapitanov
    Admin
    Dimitar Kapitanov avatar
    632 posts

    Posted 06 Sep 2007 Link to this post

    Hi Lovsten,
    Yes we are aware of the issue and the omission from known issues is on our side. We are still evaluating the cause of the problem as it seems a very complicated one. Possible reason is the different local settings but we are still evaluating that issue. Currently the issue is still opened and we are investigating the causes. Please excuse us for any inconvenience caused, we will notify you ASAP as we have progress with this situation.

    Greetings,
    Dimitar Kapitanov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  7. Lovsten
    Lovsten avatar
    72 posts
    Member since:
    Aug 2007

    Posted 06 Sep 2007 Link to this post

    Thanks for the quick reply.

    FYI, my OS is Windows XP Prof English, but I have Swedish as my local settings in Windows. Don't know if that as anything to do with it. Just wanted to let you know.
  8. Dimitar Kapitanov
    Admin
    Dimitar Kapitanov avatar
    632 posts

    Posted 11 Sep 2007 Link to this post

    Hi Magnus Lovsten,

    We believe we solved the theme serialization issue successfully in the case when the default culture and local settings are different from "en-Us". The proper serialization will be introduced in Q2 2007 release next week.
     

    Sincerely yours,
    Dimitar Kapitanov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  9. Lovsten
    Lovsten avatar
    72 posts
    Member since:
    Aug 2007

    Posted 20 Sep 2007 Link to this post

    I can confirm that this problem is now solved in 2007 Q2 release
Back to Top
UI for WinForms is Visual Studio 2017 Ready