0

how i can create custum control styles for modern ui firstfloor software ??

to costimaze link color and grouplink color ??

this is my personnel theme code

<ResourceDictionary.MergedDictionaries>
    <ResourceDictionary Source="/FirstFloor.ModernUI;component/Assets/ModernUI.dark.xaml" />
</ResourceDictionary.MergedDictionaries>

<Color x:Key="AccentColor">#0082AD</Color>

<Rectangle x:Key="WindowBackgroundContent" x:Shared="false">
    <Rectangle.Fill>
        <ImageBrush Opacity="25" ImageSource="/Images/background.png" Stretch="UniformToFill" />
    </Rectangle.Fill>
</Rectangle>

my programm

acharmat
  • 125
  • 1
  • 13
  • 1
    You should edit ModernUI.dark.xaml file. If you give a link to this file I can help you. Can't find this page on [github](https://github.com/firstfloorsoftware/mui/tree/master/1.0/FirstFloor.ModernUI) – Alexej Sommer Apr 29 '16 at 06:32
  • this is the file [Github](https://github.com/firstfloorsoftware/mui/blob/master/1.0/FirstFloor.ModernUI/Shared/Assets/ModernUI.Dark.xaml) – acharmat Apr 29 '16 at 13:49

1 Answers1

0

You can open ModernUI.dark.xaml file and set another color in lines:

 <SolidColorBrush x:Key="Hyperlink" Color="{DynamicResource AccentColor}" />
 <SolidColorBrush x:Key="HyperlinkHover" Color="{DynamicResource AccentColor}" />
 <SolidColorBrush x:Key="HyperlinkDisabled" Color="#717171" />

Or you can open your project in Blend

Alexej Sommer
  • 2,677
  • 1
  • 14
  • 25
  • but it does not work i can't find where i can change the background of modern tab type ="List" I'm using Usercontrol i add the List code it the topic – acharmat Apr 29 '16 at 14:45
  • 2
    Provide full xaml of your page (or part with this control) – Alexej Sommer Apr 29 '16 at 14:49
  • i can not insert it into the post .. you can get it from here [text file](https://drive.google.com/file/d/0B67md3zpZJ-YUDRUVjJUZnZXQ2c/view?usp=sharing) – acharmat Apr 29 '16 at 14:56