Click here to Skip to main content
14,775,645 members
Home » Discussions » Silverlight / WPF
   

Silverlight / WPF

 
GeneralRe: Dividing a TextBox into columns Pin
Dwayne Barsotta27-Jan-18 7:24
MemberDwayne Barsotta27-Jan-18 7:24 
AnswerRe: Dividing a TextBox into columns Pin
Gerry Schmitz7-Jan-18 8:26
mveGerry Schmitz7-Jan-18 8:26 
AnswerRe: Dividing a TextBox into columns Pin
Kenneth Haugland7-Jan-18 18:41
professionalKenneth Haugland7-Jan-18 18:41 
AnswerRe: Dividing a TextBox into columns Pin
Dwayne Barsotta27-Jan-18 7:39
MemberDwayne Barsotta27-Jan-18 7:39 
GeneralRe: Dividing a TextBox into columns Pin
Gerry Schmitz27-Jan-18 13:47
mveGerry Schmitz27-Jan-18 13:47 
QuestionProblems pausing and restarting animations in XAML Pin
Kenneth Haugland6-Jan-18 1:52
professionalKenneth Haugland6-Jan-18 1:52 
AnswerRe: Problems pausing and restarting animations in XAML Pin
Gerry Schmitz6-Jan-18 8:48
mveGerry Schmitz6-Jan-18 8:48 
GeneralRe: Problems pausing and restarting animations in XAML Pin
Kenneth Haugland6-Jan-18 9:09
professionalKenneth Haugland6-Jan-18 9:09 
I did try out this:
<StackPanel  Width = "200" Height = "100" Background = "Black" Margin = "5">
    <StackPanel.Resources>
        <Style TargetType="Button">
            <Style.Triggers>
                <EventTrigger RoutedEvent="Click">
                    <BeginStoryboard Name="closing" Storyboard="{StaticResource ImidiateClosePopupAnimation}"/>
                </EventTrigger>
            </Style.Triggers>
        </Style>
    </StackPanel.Resources>

    <TextBlock TextWrapping = "Wrap" Foreground = "White" Text = "Some information goes here"/>
    <Button Click="Button_Click" Content="I'm unstyled, Click me"/>
    <Button Click="Button_Click" Content="Or Click me"></Button>
</StackPanel>


But that throws an error saying that:
Quote:
Cannot resolve all property references in the property path 'IsOpen'. Verify that applicable objects support the properties.

I couldnt figure out what the problem was:
wpf - Cannot resolve all property references in the propertypath - Stack Overflow[^]

The button click does swallow the button pressed, and although I can use PreviewMouseDown, that will stop the click event. I could put all of this in a UserControl and hardcode everything, but this seemed very doable in XAML, or so I thought.
GeneralRe: Problems pausing and restarting animations in XAML Pin
Gerry Schmitz6-Jan-18 9:26
mveGerry Schmitz6-Jan-18 9:26 
GeneralRe: Problems pausing and restarting animations in XAML Pin
Kenneth Haugland6-Jan-18 9:41
professionalKenneth Haugland6-Jan-18 9:41 
GeneralRe: Problems pausing and restarting animations in XAML Pin
Gerry Schmitz6-Jan-18 9:51
mveGerry Schmitz6-Jan-18 9:51 
GeneralRe: Problems pausing and restarting animations in XAML Pin
Kenneth Haugland6-Jan-18 10:17
professionalKenneth Haugland6-Jan-18 10:17 
GeneralRe: Problems pausing and restarting animations in XAML Pin
Gerry Schmitz6-Jan-18 10:32
mveGerry Schmitz6-Jan-18 10:32 
QuestionWPF Pin
Bogadamidi3-Jan-18 17:20
MemberBogadamidi3-Jan-18 17:20 
AnswerRe: WPF Pin
Kenneth Haugland3-Jan-18 19:31
professionalKenneth Haugland3-Jan-18 19:31 
QuestionBegin a storyboard in a ControlTemplate Pin
Kenneth Haugland1-Jan-18 23:28
professionalKenneth Haugland1-Jan-18 23:28 
AnswerRe: Begin a storyboard in a ControlTemplate Pin
Pete O'Hanlon2-Jan-18 1:55
mvePete O'Hanlon2-Jan-18 1:55 
GeneralRe: Begin a storyboard in a ControlTemplate Pin
Kenneth Haugland2-Jan-18 4:35
professionalKenneth Haugland2-Jan-18 4:35 
GeneralRe: Begin a storyboard in a ControlTemplate Pin
Pete O'Hanlon2-Jan-18 5:38
mvePete O'Hanlon2-Jan-18 5:38 
AnswerRe: Begin a storyboard in a ControlTemplate Pin
Pete O'Hanlon2-Jan-18 7:11
mvePete O'Hanlon2-Jan-18 7:11 
GeneralRe: Begin a storyboard in a ControlTemplate Pin
Kenneth Haugland2-Jan-18 7:41
professionalKenneth Haugland2-Jan-18 7:41 
GeneralRe: Begin a storyboard in a ControlTemplate Pin
Pete O'Hanlon2-Jan-18 8:49
mvePete O'Hanlon2-Jan-18 8:49 
QuestionComboBoxEdit Control Pin
Kevin Marois21-Dec-17 7:09
professionalKevin Marois21-Dec-17 7:09 
AnswerRe: ComboBoxEdit Control Pin
Kenneth Haugland2-Jan-18 0:16
professionalKenneth Haugland2-Jan-18 0:16 
QuestionVB.Net/WPF/XAML "The video does not load via the executable." Pin
Member 1358548219-Dec-17 14:20
MemberMember 1358548219-Dec-17 14:20 

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.