Hi,
I know it is possible to make customized styles for instance defining washgroups for instance
<igThemes:ResourceWasher.WashGroups> <igThemes:WashGroupCollection> <!-- Specify WashColors for each WashGroup in the Theme. The WashGroups are the same in all themes. --> <igThemes:WashGroup Name="Caption" WashColor="#FF719730"/> <igThemes:WashGroup Name="HeaderPanel" WashColor="#FF719730"/> <igThemes:WashGroup Name="Hover" WashColor="#FFCEE685"/> <igThemes:WashGroup Name="TabArea" WashColor="#FF719730" WashMode="HueSaturationReplacement"/> <!-- The following WashGroups are defined but not used in this sample. The WashColor is explicitly set to "Transparent", though we could have just left these out. --> <igThemes:WashGroup Name="BaseColor" WashColor="Transparent"/> <igThemes:WashGroup Name="Text" WashColor="Transparent"/> <igThemes:WashGroup Name="Pressed" WashColor="Transparent"/> <igThemes:WashGroup Name="IsChecked" WashColor="Transparent"/> </igThemes:WashGroupCollection> </igThemes:ResourceWasher.WashGroups>
Nevertheless i want some more power and i want to set a background image, not only define the color but define a background image, for instance something like TabArea Background="image" is this possible?
For some reason the VS IDE does not recognize the definition of a RelativeSource that takes 3 parameters (RelativeSourceMode, Type, Int32) but this is valid and that is why it will compile just fine. If you want you can probably just do a regular expression find/replace to change it to the other ctor. E.g. Find "\{RelativeSource FindAncestor, {\{x\:Type [^\}]*\}}, 1\}" and replace with "{RelativeSource FindAncestor, AncestorType=\1}"
I found generic themes on ...\Infragistics\NetAdvantage 2009.2\WPF\DefaultStyles\Ribbon i think i can change them to get the behavior im looking for, unfortunetly when i copy the themes to a project and try to build them the following error appear: Error No constructor for type 'RelativeSource' has 3 parameters.
Can you please help me?