Hello,
We are having a difficult time using themes on Actipro controls. We are trying to apply some styles to some controls and that seems to remove all theme styling.
Example : we have an "editors:TextBox" control, with the "Office2007Blue" theme. If we try and add a style to it, the office theme is gone (no blue border)
From my knoledge this is because any style applied on the control overrides other styles. The first solution I tought of was to create our style "basedOn" Actipro's styles but I can't seem to be able to find the style for a TextBox or a PopupButton like I saw done for some items in your demo application :
<Style x:Key="{x:Type Expander}" TargetType="{x:Type Expander}"
BasedOn="{StaticResource {x:Static themes:NavigationBarCommonDictionary.ExpanderStyleKey}}"> ( I only found the TextBoxInlineStyleKey without the Normal style Key in the EditorsCommonDictionary exposed by the Editors library)
To summarize the question, we are tryinng to combine Actipro theming with our own styles (mainly consisting of Margins, Paddings and other layout related style properties) but applying the style deletes the theming from the controls.
Any help will be appreciated.
Thank you
Alex
We are having a difficult time using themes on Actipro controls. We are trying to apply some styles to some controls and that seems to remove all theme styling.
Example : we have an "editors:TextBox" control, with the "Office2007Blue" theme. If we try and add a style to it, the office theme is gone (no blue border)
From my knoledge this is because any style applied on the control overrides other styles. The first solution I tought of was to create our style "basedOn" Actipro's styles but I can't seem to be able to find the style for a TextBox or a PopupButton like I saw done for some items in your demo application :
<Style x:Key="{x:Type Expander}" TargetType="{x:Type Expander}"
BasedOn="{StaticResource {x:Static themes:NavigationBarCommonDictionary.ExpanderStyleKey}}"> ( I only found the TextBoxInlineStyleKey without the Normal style Key in the EditorsCommonDictionary exposed by the Editors library)
To summarize the question, we are tryinng to combine Actipro theming with our own styles (mainly consisting of Margins, Paddings and other layout related style properties) but applying the style deletes the theming from the controls.
Any help will be appreciated.
Thank you
Alex