Click here to Skip to main content
15,888,968 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: textbox validation in silverlight Pin
Abhinav S30-Nov-09 23:15
Abhinav S30-Nov-09 23:15 
GeneralRe: textbox validation in silverlight Pin
noufal200930-Nov-09 23:35
noufal200930-Nov-09 23:35 
AnswerRe: textbox validation in silverlight [modified] Pin
Abhinav S30-Nov-09 23:45
Abhinav S30-Nov-09 23:45 
GeneralRe: textbox validation in silverlight Pin
Mark Salsbery1-Dec-09 8:08
Mark Salsbery1-Dec-09 8:08 
AnswerRe: textbox validation in silverlight Pin
fred_1-Dec-09 4:40
fred_1-Dec-09 4:40 
QuestionValidationRule bind two values Pin
ezazazel30-Nov-09 20:25
ezazazel30-Nov-09 20:25 
AnswerRe: ValidationRule bind two values Pin
Pete O'Hanlon30-Nov-09 21:42
mvePete O'Hanlon30-Nov-09 21:42 
Questionhelp animation wpf - vb Pin
Member 360941530-Nov-09 6:55
Member 360941530-Nov-09 6:55 
Why not function?
please!

<Window x:Class="Window1"
   
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation";
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml";
    Title="Window1" Height="300" Width="300">
    <Grid Name="Grid1">
        <Button Height="25" Width="50"
HorizontalAlignment="Right" VerticalAlignment="Bottom"
Name="Button1">Go</Button>
    </Grid>
</Window>



Imports System.Windows.Media.Animation

Class Window1

    Private LL As New Windows.Controls.Label

    Private Sub Window1_Loaded(ByVal sender As Object, ByVal
e As System.Windows.RoutedEventArgs) Handles Me.Loaded

        LL.Content = "dgkdjsjfklògjsòldfg"
        LL.Name = "Label1"
        LL.HorizontalAlignment Windows.HorizontalAlignment.Left
        LL.VerticalAlignment Windows.VerticalAlignment.Top
        LL.Foreground = Brushes.Black
        LL.Visibility = Windows.Visibility.Visible

        Me.Grid1.Children.Add(LL)

    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object,
ByVal e As System.Windows.RoutedEventArgs) Handles
Button1.Click

        Dim sb As New Storyboard

        Dim myDoubleAnimation As New DoubleAnimation
        myDoubleAnimation.From = 0
        myDoubleAnimation.To = 100
        myDoubleAnimation.Duration TimeSpan.FromMilliseconds(2000)

        Storyboard.SetTargetName(myDoubleAnimation,
"Label1")
        Dim PropP As New PropertyPath(Canvas.LeftProperty)
        Storyboard.SetTargetProperty(myDoubleAnimation,
PropP)

        Dim myDoubleAnimation2 As New DoubleAnimation
        myDoubleAnimation2.From = 0
        myDoubleAnimation2.To = 100
        myDoubleAnimation2.Duration TimeSpan.FromMilliseconds(2000)

        Storyboard.SetTargetName(myDoubleAnimation2,
"Label1")
        Dim PropP2 As New PropertyPath(Canvas.TopProperty)
        Storyboard.SetTargetProperty(myDoubleAnimation2,
PropP2)

        sb.Children.Add(myDoubleAnimation)
        sb.Children.Add(myDoubleAnimation2)

        Me.BeginStoryboard(sb)

    End Sub

End Class

AnswerRe: help animation wpf - vb Pin
Christian Graus1-Dec-09 5:32
protectorChristian Graus1-Dec-09 5:32 
QuestionWPF property xaml serialization in design time problem Pin
Thomas Duwe30-Nov-09 3:20
Thomas Duwe30-Nov-09 3:20 
QuestionDesign issue Pin
Tauseef A29-Nov-09 16:51
Tauseef A29-Nov-09 16:51 
AnswerRe: Design issue Pin
Mark Salsbery30-Nov-09 9:17
Mark Salsbery30-Nov-09 9:17 
QuestionAdvantages and disadvantage using sliverlight Pin
Gopal_Kanchana27-Nov-09 18:22
Gopal_Kanchana27-Nov-09 18:22 
AnswerRe: Advantages and disadvantage using sliverlight Pin
Mark Salsbery28-Nov-09 8:40
Mark Salsbery28-Nov-09 8:40 
AnswerRe: Advantages and disadvantage using sliverlight Pin
Kunal Chowdhury «IN»6-Dec-09 7:07
professionalKunal Chowdhury «IN»6-Dec-09 7:07 
GeneralRe: Advantages and disadvantage using sliverlight Pin
Gopal_Kanchana6-Dec-09 18:43
Gopal_Kanchana6-Dec-09 18:43 
GeneralRe: Advantages and disadvantage using sliverlight Pin
Teun L9-Dec-09 1:33
Teun L9-Dec-09 1:33 
AnswerRe: Advantages and disadvantage using sliverlight Pin
Abhinav S6-Dec-09 17:45
Abhinav S6-Dec-09 17:45 
GeneralRe: Advantages and disadvantage using sliverlight Pin
Kunal Chowdhury «IN»11-Dec-09 3:39
professionalKunal Chowdhury «IN»11-Dec-09 3:39 
AnswerRe: Advantages and disadvantage using sliverlight Pin
Michael Eber19-Jan-10 6:24
Michael Eber19-Jan-10 6:24 
QuestionWPF - staggering storyboard executions Pin
gritter27-Nov-09 16:59
gritter27-Nov-09 16:59 
AnswerRe: WPF - staggering storyboard executions Pin
gritter28-Nov-09 3:05
gritter28-Nov-09 3:05 
QuestionMDI type of application using WPF Pin
nilam247726-Nov-09 23:37
nilam247726-Nov-09 23:37 
QuestionWPF UserControl Inheritance in VB.NET? Pin
ThisIsJustAPunkRockSong25-Nov-09 23:08
ThisIsJustAPunkRockSong25-Nov-09 23:08 
Questionpolicy issue Pin
Tauseef A25-Nov-09 10:28
Tauseef A25-Nov-09 10:28 

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.