Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with the Calendar control #1133

Closed
dotnetero opened this issue Mar 8, 2014 · 3 comments
Closed

Problem with the Calendar control #1133

dotnetero opened this issue Mar 8, 2014 · 3 comments
Assignees
Labels
Milestone

Comments

@dotnetero
Copy link

When using

<Calendar.BlackoutDates >
    < CalendarDateRange Start="3/4/2014" End="3/7/2014" / >
</Calendar.BlackoutDates >

the path is not displayed, as resolved by modifying the file, ..\Styles\Controls.Calendar.xaml with the following changes:

        <VisualState x:Name="BlackoutDay" >
            <Storyboard >
                <DoubleAnimation Duration="0"
                                 To="1" <--- .2
                                 Storyboard.TargetProperty="Opacity"
                                 Storyboard.TargetName="Blackout" / >
            </Storyboard >
        </VisualState >

<Path x:Name="Blackout"
      Data="M8.1772461,11.029181 L10.433105,11.029181 L11.700684,12.801641 L12.973633,11.029181 L15.191895,11.029181 L12.844727,13.999395 L15.21875,17.060919 L12.962891,17.060919 L11.673828,15.256231 L10.352539,17.060919 L8.1396484,17.060919 L10.519043,14.042364 z"
      HorizontalAlignment="Stretch"
      Margin="3"
      Opacity="0"
      RenderTransformOrigin="0.5,0.5"
      Stretch="Fill"
      VerticalAlignment="Stretch"
      Fill="{DynamicResource AccentColorBrush4}" /> <--- WhiteBrush
@AzureKitsune
Copy link
Member

Could you give us a screenshot of what's wrong though?

@dotnetero
Copy link
Author

Before:
antes
After: with the new values
despues

congratulations to the team for such an excellent work, greetings from Playa del Carmen, Quintana Roo, México.

@AzureKitsune
Copy link
Member

@dotnetero and thank you for your contribution to MahApps.Metro. :D

@punker76 punker76 added the Bug label Mar 24, 2014
@punker76 punker76 added this to the v0.14 milestone Mar 24, 2014
@punker76 punker76 self-assigned this Jun 14, 2014
@punker76 punker76 mentioned this issue Jun 14, 2014
33 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants