Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
2.6 kB
2
Indexable
Never
 <Grid>
        <materialDesign:Card Margin="20" UniformCornerRadius="30" 
                             materialDesign:ElevationAssist.Elevation="Dp16" 
                             Visibility="Visible" x:Name="cardLogin">
            <materialDesign:Card.Background>
                <LinearGradientBrush StartPoint="0 0" EndPoint="0 1">
                    <GradientStop Offset="0.1" Color="Pink"/>
                    <GradientStop Offset="1" Color="Black"/>
                </LinearGradientBrush>
            </materialDesign:Card.Background>
            <StackPanel Orientation="Vertical"
                    VerticalAlignment="Center"
                    Margin="20,15,20,20">
                <Label Content="Sign In" 
                   FontFamily="Segoe UI Light"
                   FontSize="30"
                   HorizontalAlignment="Center"
                   Foreground="{StaticResource TextColor}"/>
                
                <TextBox materialDesign:HintAssist.Hint="Student ID:"  Margin="5,15,5,5" FontSize="14" Foreground="{StaticResource TextColor}" 
                     materialDesign:HintAssist.IsFloating="True" x:Name="txtID"/>

                <TextBox materialDesign:HintAssist.Hint="Student FirstName:" Margin="5,15,5,5" FontSize="14" Foreground="{StaticResource TextColor}" 
                     materialDesign:HintAssist.IsFloating="True" x:Name="txtfname"/>

                <TextBox materialDesign:HintAssist.Hint="Student LastName:" Margin="5,15,5,5" FontSize="14" Foreground="{StaticResource TextColor}" 
                     materialDesign:HintAssist.IsFloating="True" x:Name="txtlname"/>

                <TextBox materialDesign:HintAssist.Hint="Student Address:" Margin="5,15,5,5" FontSize="14" Foreground="{StaticResource TextColor}" 
                     materialDesign:HintAssist.IsFloating="True" x:Name="txtAdd"/>

                <TextBox materialDesign:HintAssist.Hint="Student MobileNumber:" MaxLength="11"  Margin="5,15,5,5" FontSize="14" Foreground="{StaticResource TextColor}" 
                     materialDesign:HintAssist.IsFloating="True" x:Name="txtnumb"/>

                <DatePicker x:Name="txtdate" Margin="5,15,5,5"/>

                <Button Content="Add Student" HorizontalAlignment="Center"  Height="50" Width="150" 
                    materialDesign:ButtonAssist.CornerRadius="5" Margin="20" 
                        PreviewMouseLeftButtonDown="Button_PreviewMouseLeftButtonDown"/>
                
            </StackPanel>
        </materialDesign:Card>
    </Grid>