Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 22 20:42
    NoahLavelle edited #2305
  • Apr 22 20:41
    NoahLavelle edited #2305
  • Apr 22 20:10
    NoahLavelle edited #2305
  • Apr 22 20:09
    NoahLavelle edited #2305
  • Apr 22 20:07
    NoahLavelle edited #2305
  • Apr 22 20:04
    NoahLavelle edited #2305
  • Apr 22 20:04
    NoahLavelle edited #2305
  • Apr 22 20:03
    NoahLavelle edited #2305
  • Apr 22 20:03
    NoahLavelle opened #2305
  • Apr 21 22:40
    celray commented #2299
  • Apr 18 16:30
    Tyrrrz commented #1307
  • Apr 18 16:27
    Tyrrrz commented #1307
  • Apr 17 10:57
    SmRiley commented #2246
  • Apr 16 05:52
    Keboo milestoned #2301
  • Apr 16 05:52

    Keboo on master

    Fix submenus of top-level MenuI… (compare)

  • Apr 16 05:52
    Keboo closed #2301
  • Apr 16 05:31

    Keboo on master

    Updating GitHub Action step nam… (compare)

  • Apr 16 05:29

    Keboo on icons

    (compare)

  • Apr 16 05:24

    Keboo on master

    Create control_styles.yml Addi… (compare)

  • Apr 16 05:21

    Keboo on master

    [Icon update detected by Github… (compare)

ogarta
@ogarta
@jespersh I just started learning C#
Jesper Hansen
@jespersh
@ogarta if you compiled the project then there'll be a bin folder with the "bin file"
ogarta
@ogarta
@jespersh Thank you. I will learn how to do it
1 reply
mariannapas
@mariannapas
Hello! I need to use the TimePicker component for my wpf project. In all the project I've used comboboxes/textboxes/datepickers with MaterialDesignFilled style. Currently this style doesn't exist for the time picker. I'm trying to restyle it with the stylesheet provided from the library but the only problem is the background of the floatinghintassist, it still remains transparent (while the time picker textbox has its background). I'm not figuring out why I can't assign a background to the hint assist. Can someone help me?
3 replies
AmitBhatnagar24
@AmitBhatnagar24
@Keboo - is there any way to pin the drawer? If it is pinned, then the drawer wouldn't be an "overlay" on top of the working area, but rather be docked to the side of it. Is that possible?
Kevin B
@Keboo
@AmitBhatnagar24 the 4.0.0 release added an OpenMode property to the drawer host. The mode names were aimed at matching the spec (so possibly not intuitive), but I think setting OpenMode to Standard should get you what you want.
Kevin B
@Keboo
@mariannapas you are likely bumping into the issue that the SmartHint default template doesn't actually use the Background property. So setting just the Background property directly on the SmartHint will have no affect. The way most of the styles work today, is they set the background on the content of the hint directly; typically with a Border control. The content of the hint is then place inside of that border.
AmitBhatnagar24
@AmitBhatnagar24
@Keboo - thanks! I haven't yet made the jump to v4.0 just yet, but will do so just for this!
Kevin B
@Keboo
Great! Be sure to check the release notes as there are a number of breaking changes in the release. MaterialDesignInXAML/MaterialDesignInXamlToolkit#1705
Gary Wu
@garywu123
Hey Guys. A quick question about setting the padding for MaterialDesignOutlinedTextBox Style. I am using MaterialDesignOutlinedTextBox on a TextBox and I can set up padding with TextBox. But if I set up padding in Style. It won't affect.
2021-04-01_16h35_14.png
2021-04-01_16h35_53.png
KHALED LAKEHAL
@KHALED-LAKEHAL
hello how fix this my wpf app become slow when show dialog host in datagrid
Jesper Hansen
@jespersh
dialog host in datagrid?
3 replies
ShannonZ
@ShannonZ
How to set the format of the TimePicker? It shows 00:01 but I want 00:01:00
4 replies
ShannonZ
@ShannonZ
image.png
diskxo_
@diskxo
How can I disable animation effects of a progressbar?
2 replies
With MaterialDesign included
KHALED LAKEHAL
@KHALED-LAKEHAL
hello how fix this binding errors show only when set combobox editable to true
System.Windows.Data Error: 4 : 
    Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=HorizontalContentAlignment;
    DataItem=null; target element is 'ComboBoxItem' (Name='');
    target property is 'HorizontalContentAlignment' (type 'HorizontalAlignment')

System.Windows.Data Error: 4 : 
    Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''.
    BindingExpression:Path=VerticalContentAlignment;
    DataItem=null; target element is 'ComboBoxItem' (Name='');
    targetget property is 'VerticalContentAlignment' (type 'VerticalAlignment')
1 reply
Nicole Coppola
@nicoppola
Hello - I have a question about Helper text. I need to be able to validate a field based on external data that my API is already doing the validation for. I want to use the HintAssist.HelperText, and just populate it with the correct string or empty string depending on the validity. Is there a way to turn the text and the text box it's in red dynamically?
14 replies
Sebastian Strobl
@sebaJoSt
Hello, I'd like to override the MaterialDesignPaper brush but only in dark mode. How can I achieve this when using the bundled theme? My app.xaml is identical to the MaterialDesignDemo:
<Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <!-- This is the current way to setup your app's initial theme -->
                <materialDesign:BundledTheme BaseTheme="Inherit" PrimaryColor="DeepPurple" SecondaryColor="Lime"
                                             ColorAdjustment="{materialDesign:ColorAdjustment}" />


                <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" />

                <ResourceDictionary Source="pack://application:,,,/ShowMeTheXAML.AvalonEdit;component/Themes/xamldisplayer.xaml" />
            </ResourceDictionary.MergedDictionaries>


        </ResourceDictionary>
    </Application.Resources>
XueDee123
@XueDee123
image.png
image.png
Hello, I'm using textbox's mater ialDesign:HintAssist.HelperText The interface does not show the content, some show, some do not show, is the bug
image.png
1 reply
sushant-ht
@sushant-ht
I have issue compiling source code in VS2017, can anyone help?
1 reply
Jesper Hansen
@jespersh
@sushant-ht VS2017 is not supposed for compiling the source
sushant-ht
@sushant-ht

@sushant-ht VS2017 is not supposed for compiling the source

so what are options or an alternative

Xaalek
@Xaalek

@sushant-ht VS2017 is not supposed for compiling the source

so what are options or an alternative

If you want to contribute you can use VS2019 community (it's free). If you just want to start the main demo, there is a compiled version available here https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit/releases/download/v4.0.0/DemoApp.zip

sushant-ht
@sushant-ht
Thanks This seems to be helpful
Drise13
@Drise13
@Keboo Telerik seems to use the Adorner layer for their Ribbon view stuff. any idea how we can get DialogHost to play nice? The "backstage" opens in the adorner and hides any dialog
2 replies
Drise13
@Drise13

@Keboo Is there a correct way to reference class library resources? I don't have an App.xaml so the class library can see the resources at design time. This is how we are doing it now.

    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="../../InternalCoreClientResources.xaml" />
            </ResourceDictionary.MergedDictionaries>
            <shared:Font x:Key="DiagraphFonts" />
        </ResourceDictionary>
    </UserControl.Resources>

As far as I can tell, the xaml parser has to reparse this every time it encounters it. Does pack uri's prevent this reparse?

Drise13
@Drise13
Is this the right way?
    <UserControl.Resources>
        <ResourceDictionary Source="pack://application:,,,/InternalCoreClientResources.xaml" />
    </UserControl.Resources>
Xaalek
@Xaalek
How can I disable the color and the line under a textbox when it's focused ?
image.png
1 reply
pol robinsom
@PRobinsom_twitter
i use material design tool kit for my wpf application . but i have problem with validation data field not work . please help me
this is code which i used
Capture.PNG
but red color word still appeared although textbox is non empty
where is the error ? please help me
pol robinsom
@PRobinsom_twitter
m.PNG
my need is red color border and "field is required" words should disappear when I type here
Kevin B
@Keboo
@PRobinsom_twitter check for a binding error. That code is expected to set a Name property on the view model. The validation rules don't trigger quite the same way if there are issues resolving the binding. Do you see that property getting set as you type?
pol robinsom
@PRobinsom_twitter
I am so sorry, i can't understand where should be corrected and what should i do?
Please can you help me from code or link of easy example
Kevin B
@Keboo
@PRobinsom_twitter I have some validation examples here: https://github.com/Keboo/MaterialDesignInXaml.Examples/tree/master/MVVM/MVVM.Validation
pol robinsom
@PRobinsom_twitter
@Keboo thank you very much