Click here to Skip to main content
15,885,767 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF - Why? Pin
Gerry Schmitz17-Oct-14 11:07
mveGerry Schmitz17-Oct-14 11:07 
GeneralRe: WPF - Why? Pin
RedDk17-Oct-14 11:29
RedDk17-Oct-14 11:29 
GeneralRe: WPF - Why? Pin
SteveHolle6-Nov-14 4:18
SteveHolle6-Nov-14 4:18 
GeneralRe: WPF - Why? Pin
Mycroft Holmes17-Oct-14 13:51
professionalMycroft Holmes17-Oct-14 13:51 
GeneralRe: WPF - Why? Pin
SteveHolle6-Nov-14 4:22
SteveHolle6-Nov-14 4:22 
GeneralRe: WPF - Why? Pin
Mycroft Holmes6-Nov-14 11:36
professionalMycroft Holmes6-Nov-14 11:36 
GeneralRe: WPF - Why? Pin
Gary R. Wheeler8-Nov-14 3:12
Gary R. Wheeler8-Nov-14 3:12 
GeneralRe: WPF - Why? Pin
Pete O'Hanlon11-Nov-14 20:46
mvePete O'Hanlon11-Nov-14 20:46 
SteveHolle wrote:
looking at the templates below created in App.xaml who can really tell what this is going to look like? 
Errrr, me. It's a fairly straightforward template after all. I appreciate your frustration, but it really does get a lot easier the more you do it.

Now, part of the reason we have XAML is that it's a relatively straightforward way to represent a UI, that keeps the actual "shape" of the UI decoupled from the actual implementation of your logic. The primary motivation for this was to allow designers and developers to work side by side on the same application - and yes, this does happen in some organisations, I wouldn't dream of releasing an app that didn't have UX designer support.

What helps is when you start to see that large complex templates are actually made up of smaller templates. So, for instance, if you want to restyle a scroll bar, you don't end up having to fully reimplement every part - perhaps you just want to change the colour of the thumb bar - in that case, you'd just tweak the Thumb (in the example you have, you could accomplish this using something like this):
XML
<Style TargetType="Thumb">
  <Setter Property="BorderBrush" Value="Black" />
  <Setter Property="Thickness" Value="1" />
  <Setter Property="Background">
    <Setter.Value>
      <LinearGradientBrush EndPoint="1,0">
        <GradientStop Offset="0" Color="DarkGreen" />
        <GradientStop Offset="1" Color="LightGreen" />
      </LinearGradientBrush>
    </Setter.Value>
  </Setter>
</Style>

QuestionProblem to synchronise two DataContext bound ComboBoxes Pin
Tom Rahav10-Oct-14 18:25
Tom Rahav10-Oct-14 18:25 
AnswerRe: Problem to synchronise two DataContext bound ComboBoxes Pin
Gerry Schmitz13-Oct-14 11:39
mveGerry Schmitz13-Oct-14 11:39 
GeneralRe: Problem to synchronise two DataContext bound ComboBoxes Pin
Tom Rahav13-Oct-14 14:39
Tom Rahav13-Oct-14 14:39 
QuestionDataGrid won't detect CTRL + C Pin
Mc_Topaz9-Oct-14 3:17
Mc_Topaz9-Oct-14 3:17 
AnswerRe: DataGrid won't detect CTRL + C Pin
Vincent Beek9-Oct-14 15:23
Vincent Beek9-Oct-14 15:23 
QuestionRe: DataGrid won't detect CTRL + C Pin
Mc_Topaz9-Oct-14 20:08
Mc_Topaz9-Oct-14 20:08 
AnswerRe: DataGrid won't detect CTRL + C Pin
Vincent Beek9-Oct-14 20:25
Vincent Beek9-Oct-14 20:25 
AnswerRe: DataGrid won't detect CTRL + C Pin
Hi I am Kevin29-Oct-14 6:05
Hi I am Kevin29-Oct-14 6:05 
QuestionViewBox Button alignment Pin
Member 102727486-Oct-14 10:00
Member 102727486-Oct-14 10:00 
AnswerRe: ViewBox Button alignment Pin
Mycroft Holmes6-Oct-14 14:21
professionalMycroft Holmes6-Oct-14 14:21 
QuestionDisplaying Validation Pin
cjb1102-Oct-14 21:49
cjb1102-Oct-14 21:49 
AnswerRe: Displaying Validation Pin
cjb1102-Oct-14 23:05
cjb1102-Oct-14 23:05 
QuestionReport Not Showing All Data Pin
Kevin Marois29-Sep-14 10:20
professionalKevin Marois29-Sep-14 10:20 
QuestionWPF Reporting Question Pin
Kevin Marois23-Sep-14 7:07
professionalKevin Marois23-Sep-14 7:07 
AnswerRe: WPF Reporting Question Pin
Bernhard Hiller23-Sep-14 21:56
Bernhard Hiller23-Sep-14 21:56 
GeneralRe: WPF Reporting Question Pin
Kevin Marois24-Sep-14 16:00
professionalKevin Marois24-Sep-14 16:00 
QuestionForm with ComboBoxes bound to the same source. Pin
cjb11016-Sep-14 2:45
cjb11016-Sep-14 2:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.