Di0n
Di0n
CC#
Created by Di0n on 5/17/2023 in #help
❔ Fontawesome icons dont support converting in WPF
and how does the GitHub repo fix my issue?<a:ChillBar_confused:1001503745361858590>
9 replies
CC#
Created by Di0n on 5/17/2023 in #help
❔ Fontawesome icons dont support converting in WPF
wdym by hacking? I used a nugget package available on VS
9 replies
CC#
Created by Di0n on 5/17/2023 in #help
❔ Fontawesome icons dont support converting in WPF
Any Solutions?
9 replies
CC#
Created by Di0n on 5/17/2023 in #help
❔ Fontawesome icons dont support converting in WPF
XAML Code(didnt fit all in one message)
<Grid Margin="30 10">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="auto"/>
<ColumnDefinition Width="auto"/>
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<fa:IconImage Icon="{Binding Path=Icon, ElementName=item}" Width="20" Height="20" VerticalAlignment="Top" Foreground="#f1f1f1" Margin="0 3 0 0"/>

<StackPanel Grid.Column="1" Margin="10 0">
<TextBlock FontSize="16" Foreground="{Binding Path=Color, ElementName=item}" Text="{Binding Path=Title, ElementName=item}"/>

<StackPanel Orientation="Horizontal" Margin="0 5 0 0">
<fa:IconImage Grid.Column="2" Icon="{Binding Path=IconBell1, ElementName=item}" Width="12" Height="12" Foreground="{Binding Path=Color, ElementName=item}"/>

<TextBlock FontFamily="12" Foreground="{Binding Path=Color, ElementName=item}" Text="{Binding Path=Time, ElementName=item}" Margin="8 0 0 0"/>
</StackPanel>
</StackPanel>

<ToggleButton x:Name="buttonMenu" Grid.Column="2">
<ToggleButton.Template>
<ControlTemplate TargetType="ToggleButton">
<fa:IconImage Icon="EllipsisV" Width="16" Height="16" Foreground="#f1f1f1">
<fa:IconImage.Style>
<Style TargetType="fa:IconImage">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="RenderTransform">
<Setter.Value>
<ScaleTransform ScaleX="1.2" ScaleY="1.2"/>
</Setter.Value>
</Setter>
</Trigger>
</Style.Triggers>
</Style>
</fa:IconImage.Style>
</fa:IconImage>
</ControlTemplate>
</ToggleButton.Template>
</ToggleButton>

<Popup IsOpen="{Binding IsChecked, ElementName=buttonMenu}" AllowsTransparency="True" StaysOpen="False" PlacementTarget="{Binding ElementName=buttonMenu}" Placement="Left"
VerticalOffset="30" HorizontalOffset="15">

<Border Background="White" CornerRadius="5" Padding="0 4">
<StackPanel>

<local:MenuButton Icon="Check" Caption="Check"/>
<local:MenuButton Icon="BellSlash" Caption="Mute"/>
<local:MenuButton Icon="Pencil" Caption="Edit"/>
<local:MenuButton Icon="Trash" Caption="Delete"/>

</StackPanel>
</Border>

</Popup>
</Grid>
<Grid Margin="30 10">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="auto"/>
<ColumnDefinition Width="auto"/>
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>

<fa:IconImage Icon="{Binding Path=Icon, ElementName=item}" Width="20" Height="20" VerticalAlignment="Top" Foreground="#f1f1f1" Margin="0 3 0 0"/>

<StackPanel Grid.Column="1" Margin="10 0">
<TextBlock FontSize="16" Foreground="{Binding Path=Color, ElementName=item}" Text="{Binding Path=Title, ElementName=item}"/>

<StackPanel Orientation="Horizontal" Margin="0 5 0 0">
<fa:IconImage Grid.Column="2" Icon="{Binding Path=IconBell1, ElementName=item}" Width="12" Height="12" Foreground="{Binding Path=Color, ElementName=item}"/>

<TextBlock FontFamily="12" Foreground="{Binding Path=Color, ElementName=item}" Text="{Binding Path=Time, ElementName=item}" Margin="8 0 0 0"/>
</StackPanel>
</StackPanel>

<ToggleButton x:Name="buttonMenu" Grid.Column="2">
<ToggleButton.Template>
<ControlTemplate TargetType="ToggleButton">
<fa:IconImage Icon="EllipsisV" Width="16" Height="16" Foreground="#f1f1f1">
<fa:IconImage.Style>
<Style TargetType="fa:IconImage">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="RenderTransform">
<Setter.Value>
<ScaleTransform ScaleX="1.2" ScaleY="1.2"/>
</Setter.Value>
</Setter>
</Trigger>
</Style.Triggers>
</Style>
</fa:IconImage.Style>
</fa:IconImage>
</ControlTemplate>
</ToggleButton.Template>
</ToggleButton>

<Popup IsOpen="{Binding IsChecked, ElementName=buttonMenu}" AllowsTransparency="True" StaysOpen="False" PlacementTarget="{Binding ElementName=buttonMenu}" Placement="Left"
VerticalOffset="30" HorizontalOffset="15">

<Border Background="White" CornerRadius="5" Padding="0 4">
<StackPanel>

<local:MenuButton Icon="Check" Caption="Check"/>
<local:MenuButton Icon="BellSlash" Caption="Mute"/>
<local:MenuButton Icon="Pencil" Caption="Edit"/>
<local:MenuButton Icon="Trash" Caption="Delete"/>

</StackPanel>
</Border>

</Popup>
</Grid>
9 replies
CC#
Created by Di0n on 5/14/2023 in #help
✅ Font Awesome in WPF
Ty for all help milkbow
20 replies
CC#
Created by Di0n on 5/14/2023 in #help
✅ Font Awesome in WPF
and the image fixed once I removed the 'Stretch'
20 replies
CC#
Created by Di0n on 5/14/2023 in #help
✅ Font Awesome in WPF
Ye I don't have much experiene in WPF and have been self learning so this type of issues is still new things to me.
20 replies
CC#
Created by Di0n on 5/14/2023 in #help
✅ Font Awesome in WPF
20 replies
CC#
Created by Di0n on 5/14/2023 in #help
✅ Font Awesome in WPF
that makes sense. btw since we on topic of WPF another quick question. I have the following <Image x:Name="ImageLogout" HorizontalAlignment="Left" Height="40" Margin="20,120,0,0" VerticalAlignment="Top" Width="40" Source="/Assets/Images/ImageLogout.png" Grid.Row="1"/> but hte image doesn't load even tho the source is correct (no error is given it just doesn't load)
20 replies
CC#
Created by Di0n on 5/14/2023 in #help
✅ Font Awesome in WPF
tysm BowDown
20 replies
CC#
Created by Di0n on 5/14/2023 in #help
✅ Font Awesome in WPF
Ohh it fixed icic
20 replies
CC#
Created by Di0n on 4/13/2023 in #help
✅ DialogResult and MessageBox in class (namespace)
understood ty
8 replies
CC#
Created by Di0n on 4/13/2023 in #help
✅ DialogResult and MessageBox in class (namespace)
another issue that rises up is when I add this with all the right code it says im missing a reference so I add the system.windows.forms and then I get an error on it saying im missing an assembly reference
8 replies
CC#
Created by Di0n on 4/13/2023 in #help
✅ DialogResult and MessageBox in class (namespace)
Ye in this case the method that has this will be called on a WindowsForm
8 replies
CC#
Created by Di0n on 4/12/2023 in #help
ASP.NET Page with child and parent
alr understood. Tysm for your help and time bow
18 replies
CC#
Created by Di0n on 4/12/2023 in #help
ASP.NET Page with child and parent
so with POST im all good and its a good way to transfer data from frond end to backend?
18 replies
CC#
Created by Di0n on 4/12/2023 in #help
ASP.NET Page with child and parent
sry in advance if im just being dumb
18 replies
CC#
Created by Di0n on 4/12/2023 in #help
ASP.NET Page with child and parent
<form method="post">
<form method="post">
18 replies
CC#
Created by Di0n on 4/12/2023 in #help
ASP.NET Page with child and parent
isntead of
18 replies
CC#
Created by Di0n on 4/12/2023 in #help
ASP.NET Page with child and parent
if there is a better way of sending data
18 replies