Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 05:17
    1357310795 edited #2572
  • 05:15
    1357310795 opened #2572
  • Jan 28 16:48
    Keboo labeled #2570
  • Jan 28 14:49
    bert2 commented #2571
  • Jan 28 14:48
    bert2 commented #2571
  • Jan 28 14:47
    bert2 closed #2571
  • Jan 28 14:47
    bert2 commented #2571
  • Jan 28 14:38
    bert2 opened #2571
  • Jan 28 13:56
    Maedman opened #2570
  • Jan 28 03:05
    Keboo labeled #2569
  • Jan 28 03:05
    Keboo commented #2569
  • Jan 28 02:42
    its-mrarsikk opened #2569
  • Jan 26 09:10

    github-actions[bot] on nightly_release

    [Icon update detected by Github… (compare)

  • Jan 26 03:04

    github-actions[bot] on icons

    [Icon update detected by Github… (compare)

  • Jan 26 03:04
    github-actions[bot] opened #2568
  • Jan 25 19:52

    Keboo on master

    [Icon update detected by Github… (compare)

  • Jan 25 19:52

    Keboo on icons

    (compare)

  • Jan 25 19:52
    Keboo closed #2566
  • Jan 25 19:52
    Keboo milestoned #2566
  • Jan 25 18:09
    Keboo labeled #2567
tottes200
@tottes200
I'm think I'm losing my mind, In the Demo WPF app, every single popupbox has a dropshadow, when I add a popupbox, not a single one has a drop shadow. I have even copy and pasted the code straight into my app and still nothing. Is there some trick to do this?
neytey
@neytey1_twitter
Hello I have a problem
I can't use more that ine Button or TextBox at a time, everytime I try to create 2 buttons the other ine gets deleted, when I create them via text in xaml it says that the Content can only be set once, how can I "fix" this?
40 replies
Michel Michels
@MichelMichels
@Keboo is there a specific reason why the Template of MaterialDesignDataGridCell is written the way it is?
<ControlTemplate TargetType="{x:Type DataGridCell}">
                    <Grid>
                        <Border
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            Background="{TemplateBinding Background}"
                            SnapsToDevicePixels="True" />

                        <ContentPresenter
                            SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
                            Margin="{TemplateBinding Padding}" />
                    </Grid>
                </ControlTemplate>
I don't quite see the reason why a Grid is used instead of putting the ContentPresenter inside of the Border control
3 replies
creationsoftre
@creationsoftre

Hello Everyone,

I am currently using a data template for radio buttons and textblocks to be autogenerated by values pulled from an excel spreadsheet. It works however, I'm having an issue where the RadioButton object appears in my variable $form(wpf items) array but the value of it is null. My end goal is to add event handlers to each of the radio buttons that were auto generated.

   <StackPanel x:Name="tempMenuPanel" Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" Height="auto">
        <Border BorderThickness="1" BorderBrush="Transparent" Background="White" CornerRadius="10" Height="auto" Margin="8,5,8,5">

                <ItemsControl x:Name="templateOptions"
                      ItemsSource="{Binding templateOptions}"
                      Grid.IsSharedSizeScope="True"
                      Height="238" Width="383">


                <ItemsControl.ItemTemplate>
                        <DataTemplate x:Key="RadioBtnTemplate">
                            <Border x:Name="Border"
                            Padding="8">
                                <Grid>
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition
                                         SharedSizeGroup="Checkerz" />
                                        <ColumnDefinition />
                                    </Grid.ColumnDefinitions>
                                     <RadioButton 
                                        VerticalAlignment="Center"
                                        Foreground="#FF2095F2" 
                                        GroupName="Main">
                                        <RadioButton.Resources>
                                            <!--Unchecked state-->
                                            <SolidColorBrush x:Key="MaterialDesignCheckBoxOff" Color="#FF2095F2"/>
                                            <!--Checked state-->
                                            <SolidColorBrush x:Key="PrimaryHueMidBrush" Color="#FF2095F2"/>
                                        </RadioButton.Resources>
                                    </RadioButton>
                                    <StackPanel
                                    Margin="8 0 0 0"
                                    Grid.Column="1">
                                        <TextBlock
                                        Text="{Binding Template Type}"
                                        FontWeight="Bold"
                                        Foreground="#2095F2" />
                                        <TextBlock
                                        Text="{Binding Description}"
                                        Foreground="black"
                                        TextWrapping="Wrap" />
                                    </StackPanel>
                                </Grid>

                        </Border>
                        <DataTemplate.Triggers>
                            <DataTrigger
                              Binding="{Binding IsSelected}"
                              Value="True">
                                <Setter
                                TargetName="Border"
                                Property="Background"
                                Value="{DynamicResource MaterialDesignSelection}" />
                            </DataTrigger>
                        </DataTemplate.Triggers>
                    </DataTemplate>
                </ItemsControl.ItemTemplate>
                <ItemsControl.Template>
                <ControlTemplate TargetType="ItemsControl">
                    <ScrollViewer VerticalScrollBarVisibility="Auto">
                        <ItemsPresenter Margin="5" />
                    </ScrollViewer>
6 replies
Andy Smolak
@Awsmolak
Is there a simple solution for implementing drag-and-drop reordering for listview items using Dragablz?
2 replies
Andy Smolak
@Awsmolak
Didn't want to add this as an issue...because it might be OOS. But if you are trying to "share window" in MS Teams, there is a lot of weird issues with display of dialogs/views with dialoghost. I assume it has to do with rendering of transparencies.
Here's an example with a dialog:
alt
Here's one with a popup:
alt
2 replies
image.png
image.png
Max
@lolik20
image.png
image.png
How i can fix it?
image.png
Michel Michels
@MichelMichels
I don't quite understand what you're trying to achieve
could you explain it a bit better?
Kevin B
@Keboo
@lolik20 it looks like you have added the XamlDisplay control to your project. This is something used by the demo app to make it easier for people to copy the XAML out of the demo app and is not likely something that you want in your application. There is also some info in the wiki as well.
IndoMovie
@IndoMovie75_twitter
hello, so i just use text box and i want to change the border thickness and corner radius. just for 1 textbox only. how to do that?
6 replies
Michel Michels
@MichelMichels
image.png
IndoMovie
@IndoMovie75_twitter
image.png
Roy
@Roypy
Hi, is it possible to change the thickness of the MaterialDesignFloatingActionButton indicator thickness? I tried to modify the source style but it does not look quite as good and I'm not sure how to go about doing it. Here is what Iwas able to do.
circular progress.png
Roy
@Roypy
Actually I just realized I could use the code below to increase the size like I wanted without messing with the original styles
<Button.LayoutTransform>
   <ScaleTransform  ScaleX="4" ScaleY="4"/>
</Button.LayoutTransform>
Andy Smolak
@Awsmolak
Is there a way to suppress the validation "hint" for textboxes (ie. "{chars}/{maxchars}") when MaxLength is set? (ValidationAssist.Suppress doesn't have any effect)
3 replies
delwooddsp5301
@delwooddsp5301
Image Pasted at 2022-1-3 13-41.png
Can we get the HelperText margin on the Filled PasswordBox, ComboBox, DatePicker and TimePicker set to match the Filled TextField?
Jiggy
@tweetsbyjiggy_twitter
Is it only for WPF or Is this supported in UWP application too?
1 reply
minhsu12113
@minhsu12113
image.png
Dialoghost is overlay my content, even my content has ZIndex=99999, how to fix it guys?
3 replies
Daniel
@Daniel-hnr
image.png
hello guys I have a problem with Style="{StaticResource MaterialDesignCardFlipper}" my app doesn't find the MaterialDesignCardFlipper
1 reply
domenrogina
@domenrogina
Hi guys. Where can I find the version for VisualStudio2019. I cannot rebuild the solution due to tons of errors ... (Targeting .NET 6 in VS2019 is not supported).
I'm using Visual Studio 2019 16.11.8
I can use the controls in my WPF app in VS 2019, but I want to get the Demo application (exe) for my help too.. :)
1 reply
Angelinka567
@Angelinka567
image.png
image.png
Hi! Switched to the 2022 version and started creating a new project with Material Design, but he only sees colors, and doesn't see components, what's wrong?
1 reply
CommandoHuan
@CommandoHuan
Hello everyone. I want to have an datimepicker in WPF as in winform. Can anyone help me? Thank all.
1 reply
Andy Smolak
@Awsmolak
How can I bring up a material design popupbox without the actual popup box button? Say for instance that I wanted to use a popup box for a right-click on something instead of using a context menu?
1 reply
alpa2496
@alpa2496
hello good day, I'm new, how can I put the dark theme or do I have to create it myself?
2 replies
minhsu12113
@minhsu12113
image.png
Maedman
@Maedman
Hi, I am using the slider with a +- value. I.e. 0 is in the middle which is its natural position (snaps there when not clicked). Is there a way to disable the fill, or set the fill to the whole slider, or do a fill from the middle. Essentially I don't really need the fill but want the slide effects and value bubble. I can use the selection start end to sort of achieve a constant fill but it is still not quite right ( and I am not sure how to change the colour). Is any of this possible? Thanks.
2 replies
Ainur
@yungd1plomat
image.png
Hello everyone, why TreeView is broken?
4 replies
this is my sample
image.png
I want TreeView like basic sample, but it's not working
image.png
Ainur
@yungd1plomat
Andy Smolak
@Awsmolak
Is there any reason for dialoghost to not have Focusable set to false by default? I have found it stealing focus away from content inside dialogs.