Click here to Skip to main content
15,926,596 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Setting Label.Content via attached property Pin
#realJSOP26-Jun-09 23:57
professional#realJSOP26-Jun-09 23:57 
QuestionApply Css for Silverlight controls Pin
pavanip25-Jun-09 1:11
pavanip25-Jun-09 1:11 
AnswerRe: Apply Css for Silverlight controls Pin
Mark Salsbery29-Jun-09 9:31
Mark Salsbery29-Jun-09 9:31 
AnswerRe: Apply Css for Silverlight controls Pin
Jeremy Likness1-Jul-09 8:40
professionalJeremy Likness1-Jul-09 8:40 
AnswerRe: Apply Css for Silverlight controls Pin
PumbaPumba21-Feb-11 0:33
PumbaPumba21-Feb-11 0:33 
QuestionConditional XAML Pin
krishnan.s24-Jun-09 22:01
krishnan.s24-Jun-09 22:01 
AnswerRe: Conditional XAML Pin
ABitSmart24-Jun-09 22:10
ABitSmart24-Jun-09 22:10 
QuestionWPF Toolkit DatePicker/Calender issue Pin
bonkers12324-Jun-09 21:26
bonkers12324-Jun-09 21:26 
Hi,

I have a DatePicker, where I set the CalendarStyle (I'm using mvvm). The issue is, when I select a day on the calender, nothing happens (Looks like the Click event just never fires, or something.)

The Control looks as follow:

<tool:DatePicker Grid.Column="1" Grid.Row="8" SelectedDate="{Binding BirthDate}" CalendarStyle="{DynamicResource CalenderStyleNew}"></tool:DatePicker>


Where the style looks as follow:
<Style TargetType="Controls:Calendar" x:Key="CalenderStyleNew">
    <Setter Property="Template">
      <Setter.Value>
        <ControlTemplate TargetType="Controls:Calendar">
          <StackPanel HorizontalAlignment="Center" x:Name="Root">
            <Controls:Calendar x:Name="Calendar" SelectedDate="{TemplateBinding SelectedDate}" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
              <Controls:Calendar.CalendarDayButtonStyle>
                <Style>
                  <Setter Property="Button.Height" Value="50"></Setter>
                  <Setter Property="Button.Width" Value="50"></Setter>
                  <Setter Property="Button.FontSize" Value="20"></Setter>
                </Style>
              </Controls:Calendar.CalendarDayButtonStyle>
              <Controls:Calendar.CalendarButtonStyle>
                <Style>
                  <Setter Property="Button.Height" Value="50"></Setter>
                  <Setter Property="Button.Width" Value="50"></Setter>
                  <Setter Property="Button.FontSize" Value="20"></Setter>
                </Style>
              </Controls:Calendar.CalendarButtonStyle>
            </Controls:Calendar>
          </StackPanel>
        </ControlTemplate>
      </Setter.Value>
    </Setter>
  </Style>


I need the buttons bigger, because it's a touch screen app... Test this in your app, and you'll see, nothing happens when you select a day...

Any help would be much appreciated.

Kind regards,
Hugo
AnswerRe: WPF Toolkit DatePicker/Calender issue Pin
bonkers12324-Jun-09 22:58
bonkers12324-Jun-09 22:58 
GeneralRe: WPF Toolkit DatePicker/Calender issue Pin
bonkers12325-Jun-09 1:40
bonkers12325-Jun-09 1:40 
GeneralRe: WPF Toolkit DatePicker/Calender issue Pin
Member 342384716-Nov-09 9:29
Member 342384716-Nov-09 9:29 
GeneralRe: WPF Toolkit DatePicker/Calender issue Pin
bonkers12323-Nov-09 0:20
bonkers12323-Nov-09 0:20 
GeneralRe: WPF Toolkit DatePicker/Calender issue Pin
Jimmy Carter23-Dec-09 9:57
Jimmy Carter23-Dec-09 9:57 
GeneralRe: WPF Toolkit DatePicker/Calender issue Pin
bonkers12312-Jan-10 2:07
bonkers12312-Jan-10 2:07 
GeneralRe: WPF Toolkit DatePicker/Calender issue Pin
tronix0127-Jan-11 22:54
tronix0127-Jan-11 22:54 
QuestionWPF Combobox not navigating to items on key press Pin
S Rajput24-Jun-09 20:22
S Rajput24-Jun-09 20:22 
AnswerRe: WPF Combobox not navigating to items on key press Pin
ABitSmart24-Jun-09 20:25
ABitSmart24-Jun-09 20:25 
GeneralRe: WPF Combobox not navigating to items on key press Pin
S Rajput24-Jun-09 20:29
S Rajput24-Jun-09 20:29 
GeneralRe: WPF Combobox not navigating to items on key press Pin
Christian Graus24-Jun-09 21:08
protectorChristian Graus24-Jun-09 21:08 
GeneralRe: WPF Combobox not navigating to items on key press Pin
S Rajput24-Jun-09 21:22
S Rajput24-Jun-09 21:22 
GeneralRe: WPF Combobox not navigating to items on key press Pin
ABitSmart24-Jun-09 21:37
ABitSmart24-Jun-09 21:37 
GeneralRe: WPF Combobox not navigating to items on key press Pin
ABitSmart24-Jun-09 21:34
ABitSmart24-Jun-09 21:34 
GeneralRe: WPF Combobox not navigating to items on key press Pin
S Rajput28-Jun-09 18:45
S Rajput28-Jun-09 18:45 
QuestionData binding from a List to a Grid Pin
fjparisIII24-Jun-09 15:39
fjparisIII24-Jun-09 15:39 
AnswerRe: Data binding from a List to a Grid Pin
Christian Graus24-Jun-09 16:24
protectorChristian Graus24-Jun-09 16:24 

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.