✅ materialDesign:Card

NNe02/2/2023
for some reason it says that closing matrialcard doesent exist and it shows an error
Image
NNe02/2/2023
Image
LLexaro2/2/2023
send me the code
LLexaro2/2/2023
i fix it for you
NNe02/2/2023
<Window x:Class="TalgrafNaytto.SplashScreen"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:materialDesign="https://materialdesignxaml.net/winfx/xaml/themes"
        mc:Ignorable="d"
        Title="SplashScreen" Height="450" Width="750"
        WindowStyle="None"
        WindowStartupLocation="CenterScreen"
        AllowsTransparency="True"
        Background="{x:Null}">



    <materialDesign:Card UniformCornerRadius="15" Background="{DynamicResourse MaterialDesignPaper}"
        materialDesign:ShadowAssist.ShadowDepth="Depth4" Margin="25">

        <Grid>

            <Grid.ColumnDefinitions>

                <ColumnDefinition Width="350"></ColumnDefinition>
                <ColumnDefinition Width="400"></ColumnDefinition>
             </Grid.ColumnDefinitions>

            <StackPanel Grid.Row="0" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="50
                0 0 0">

                <WrapPanel>
                    <Image Source="Assets/talgraflogo.png" HorizontalAlignment="Left" Height="50"
                    Width="50"></Image>
                    <TextBlock Text="Talgraf" FontSize="28" FontWeight="Bold" 
                    HorizontalAlignment="Left" VerticalAlignment="Center" Margin="15 0 0 0"></TextBlock>
                </WrapPanel> 
            
            
        </StackPanel>  
        
        </Grid>

    </materialDesign:Card>
</Window>
NNe02/2/2023
thank you:)
NNe02/2/2023
Im trying to create a splash screen
NNe02/2/2023
now, and after that I will make it go to a page where you can choose download
NNe02/2/2023
this is a test for a trainee position:D
NNe02/2/2023
I have a week to do this
NNe02/2/2023
C# is my weakest language
LLexaro2/2/2023
<Window x:Class="TalgrafNaytto.SplashScreen"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:materialDesign="https://materialdesignxaml.net/winfx/xaml/themes"
        mc:Ignorable="d"
        Title="SplashScreen" Height="450" Width="750"
        WindowStyle="None"
        WindowStartupLocation="CenterScreen"
        AllowsTransparency="True"
        Background="{x:Null}">



    <materialDesign:Card UniformCornerRadius="15" Background="{DynamicResourse MaterialDesignPaper}"
        materialDesign:ShadowAssist.ShadowDepth="Depth4" Margin="25">

        <Grid>

            <Grid.ColumnDefinitions>

                <ColumnDefinition Width="350"></ColumnDefinition>
                <ColumnDefinition Width="400"></ColumnDefinition>
             </Grid.ColumnDefinitions>

            <StackPanel Grid.Row="0" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="50
                0 0 0">

                <WrapPanel>
                    <Image Source="Assets/talgraflogo.png" HorizontalAlignment="Left" Height="50"
                    Width="50"></Image>
                    <TextBlock Text="Talgraf" FontSize="28" FontWeight="Bold" 
                    HorizontalAlignment="Left" VerticalAlignment="Center" Margin="15 0 0 0"></TextBlock>
                </WrapPanel> 
            
            
            </StackPanel>  
        
        </Grid>

    </materialDesign:Card>
</Window>


@Ne0
NNe02/2/2023
Thank you, what part did you change?
NNe02/2/2023
because it still gives me these:
Image
LLexaro2/2/2023
add the name "Card" to ur namespace
NNe02/2/2023
Im sorry, but what is "namespace"?😅
NNe02/2/2023
@Lexaro
LLexaro2/2/2023
??????
LLexaro2/2/2023
u dont know what a namespace is?
LLexaro2/2/2023
and want to do something in C#?
NNe02/2/2023
well im not good at c# its my weakest language
LLexaro2/2/2023
A namespace in C# is a way of organizing and grouping related classes, interfaces, and other types in a logical manner. Namespaces help to avoid naming conflicts between types in different parts of an application and also help to structure the code in a hierarchical and meaningful way.
LLexaro2/2/2023
Look at the beginning of your code
NNe02/2/2023
Image
NNe02/2/2023
yeah
NNe02/2/2023
so I put the "Card" on the class=""?
LLexaro2/2/2023
yea
NNe02/2/2023
so I delete the current one
LLexaro2/2/2023
👍
NNe02/2/2023
Image
NNe02/2/2023
Image
NNe02/2/2023
😭 😭 why is this so hard
LLexaro2/2/2023
I would advise you to learn C# first before you start a big project
NNe02/2/2023
I have used C# in unity projects before
NNe02/2/2023
I have made some games
LLexaro2/2/2023
then maybe start with Windows Forms
LLexaro2/2/2023
not with Windows Presentation Foundation
NNe02/2/2023
yeah, the thing is that this is not some project that I want to do
NNe02/2/2023
I have to do this and submit it to get a trainee position
NNe02/2/2023
I have 1 week to do this
NNe02/2/2023
If I succeed I get a position
NNe02/2/2023
If not.. well let's not think about that
LLexaro2/2/2023
Hm
NNe02/2/2023
I like HTML and python the best
NNe02/2/2023
and I figured that I will get help here so that's why im here
NNe02/2/2023
anyways thanks, I will try to do the rest on my own