I am developing a wpf desktop application that will only allow 3 metro apps to be used by any user i.e FB, Skype, Viber. As soon as user End His Session via my application i have to remove the credentials used by the user to login to these apps. I found that these metro apps store there credentia...
@Denver that's because you're doing it wrong -- you're giving it a static instance.. but you're really passing it class name rather than static instance
@franssu and yes because they're members of the same compiled class :)
hey. I have a WPF question!! In svg there are the <text> (which is about the same as a <textblock>) but inside the text you can have a <tspan> what would that correspond to?
to answer my own question, of course DataTrigger.EnterActions / ExitActions are readonly, but that's because they're collections, you still can Add/Clear/Remove
So you, as a class author, don't want consumers to be able to overwrite that collection as it may be integral to your implementation but you want to allow them to add or remove from it
So, I have a command, which sets myBoundProperty = true. The dependency property is fired and the focus is set. Moving focus and then calling the same command does not set the focus back to the textbox
Aha - I did it with a sort of hack. If the value being set is the same as the previous, I force it to be somthing else and THEN set it. That seems to force the bindings to update?
So, next problem - My multi-binding only fires once
I have a textbox which I am trying to abide by the following rules:
Textbox must always be visible when it has focus
Textbox must always hide when it doesnt have focus AND it is empty
I have a dependency property setup which allows me to refocus the textbox, so that it shows. This works "one-w...