Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 20 14:34
    paulovila commented #3673
  • Jan 18 16:45
    timunie commented #220
  • Jan 18 16:10
    nalka0 commented #220
  • Jan 17 08:11
    ben2talk commented #2694
  • Jan 17 08:10
    ben2talk commented #2694
  • Jan 17 07:21
    timunie commented #2694
  • Jan 17 05:59
    ben2talk commented #2694
  • Jan 16 19:13
    vekcro commented #1682
  • Jan 16 13:00
    timunie edited #4022
  • Jan 15 12:45
    Mindc0re commented #4023
  • Jan 15 11:29
    timunie commented #4023
  • Jan 15 10:28
    Mindc0re labeled #4023
  • Jan 15 10:28
    Mindc0re opened #4023
  • Jan 14 17:30
    timunie commented #4018
  • Jan 13 16:14
    timunie commented #4018
  • Jan 13 14:20
    GWawrzeniecki commented #4018
  • Jan 13 14:08
    timunie commented #4006
  • Jan 12 09:57
    timunie synchronize #4022
  • Jan 11 16:54
    nzain commented #4021
  • Jan 11 16:51
    timunie commented #4021
sgamescz
@sgamescz
@mrjakepavek_gitlab look at https://www.facebook.com/SORGAir/ . Software for RC aicraft competition :)
@timunie Hi, is here way how to set tabstop on individual parts of SplitButton. Tab jump 3x on this control and i want only once.
Mike Becker
@MrV8Rumble

@MrV8Rumble Ok, so if you use the DateTimePicker then you can use the IsClockVisible and set it to false.

Thank you! that should do the job nicely. I figured it was something like that that I was just missing

Jan Karger ツ ☀
@punker76
@MrV8Rumble Yeah, and the docu should do this job... :see_no_evil:
Tim
@timunie
@punker76 kind reminder to provide a list of open points for the docs. I have some free time slots to take up some docs.
😉
Maybe others here too.
ikeas68
@ikeas68
hello, i use a previous version of mahapp and before i can see icons available in http://modernuiicons.com/ but this web is not available now, wher i can find the same capability for seeing icons ?
Jan Karger ツ ☀
@punker76
@ikeas68 You can use the IconPacks Browser, which you can download here https://github.com/MahApps/MahApps.Metro.IconPacks/releases
Note: The old Icon resource NuGet package is obsolete. You should use the IconPacks instead.
ikeas68
@ikeas68
@punker76 yes i hnow the previous icons are obsolete, but if i have an old software ... can i show previous icons somewhere ?
Jan Karger ツ ☀
@punker76
@ikeas68 yes, with the browser
ikeas68
@ikeas68
ok on moderm tab ?
Jan Karger ツ ☀
@punker76
@ikeas68 yes
ikeas68
@ikeas68
thanks
dcuccia
@dcuccia
FWIW, the link to Temparian's Modern UI Icons (http://modernuiicons.com/) seems to be broken here: https://mahapps.github.io/guides/icons-and-resources.html. Server down? Seems to have existed in December: https://web.archive.org/web/20201213045731/http://modernuiicons.com/
Oh, sorry - didn't see it discussed above.
Torchok19081986
@Torchok19081986
Hallo, is there possibility to add rowdetails to listview ?
Tim
@timunie
@Torchok19081986 not out of the box. This is only available in DataGrid as far as I remember
Torchok19081986
@Torchok19081986
ok. thought so. I will use listview . Too much Changes . Not much time. Many Thanks, Tim.
Tim
@timunie
@Torchok19081986 you can also add this quite easy to ListView if you bind to the IsSelected property
Torchok19081986
@Torchok19081986
ok, thanks again , Tim. Maybe in future version. At moment i transfer old app from winform to wpf with mahapps metro and MVVM. Old programm was completely ....... Code was , TO SCREAMING AND RUN
Tim
@timunie
@Torchok19081986 I made a very short sample
image.png
paulovila
@paulovila

Hi @timunie I'm getting a binding error in NumericUpDown.Value when the bound property type is nullable decimal,

Nullable`1    Failed to convert value '<null>' (type '<null>') to the target type using converter 'SystemConvertConverter'. The fallback value will be used if it's available. InvalidCastException:'System.InvalidCastException: Null object cannot be converted to a value type.

Is it possible to configure NumericUpDown so that it doesn't complain?

Tim
@timunie
@paulovila have a look here: MahApps/MahApps.Metro#3673
unfortunately decimal isn't supported correct. So be careful.
paulovila
@paulovila
I see, can I add a comment in #3673 to let know that 'decimal?' should be also supported?
@timunie In the meantime, best I can do is to add TargetNullValue='' in the binding
Tim
@timunie
That is not the problem. The problem is that your decimal looses precision when converted to double.
You may recieve the wrong number. You have to decide if this is ok or not. If not, don't use this control for now
paulovila
@paulovila
@timunie If I had to use another control, like SpinEdit , It would be great that TextBoxHelper.Watermark worked on a more generic control, or at least have an extensibility feature to hook the animation and the watermark
paulovila
@paulovila
@timunie are you planning to support decimal/nullable decimal?
Tim
@timunie
@paulovila first of all: Did you read the conversation I sent? There is an idea how to support decimal but I have no idea if this will work and when it will be implemented.
secondly @punker76 is the maintainer of MahApps so I cannot say yes or no to it.
To the watermark: It is part of the ControlTemplate. So if you create your own Syle you may add Watermark to any control, but unfortunately there is no generic way to do it. This is a limitation of WPF, not MahApps
paulovila
@paulovila
@timunie I've read it, it seems a good idea. I suppose you are discarding the option to infer the binding type to prevent casting the type at runtime. What is the converter class doing this casting?
Tim
@timunie
You can have a look in the source and even copy the control, modify it and use it
replace double? by decimal?
paulovila
@paulovila
I see, I was thinking more to treat the type as object
Tim
@timunie
feel free to test it
may work, may not. One may also make it more generic
But not for MahApps, just for own purpose
paulovila
@paulovila
sure, I'll see it when I have some time, It's hard to know if it'll break more stuff with the 'object' approach
Tim
@timunie
yeah you will have to make sure the value is a valid number ^^
not easy
paulovila
@paulovila
I know, you can infer the representation from the object's type if not dictated by the string format, I don't know if adding an enum as in #3673 would add an extra intermediate conversion.