« first day (1048 days earlier)      last day (3101 days later) » 
02:00 - 15:0015:00 - 22:00

2:23 AM
@LynnCrumbling just got off work, and yes I am sure
it's all good, I rewrote it to use a function in mainwindow callbacks
 
2:47 AM
Ah, ok :)
 
but gosh mvvm is nice
 
Yes it is.
Have you had to use command parameters yet?
 
nope but I will expect to soon
I am currently working on the Login control
and I was gonna ask how to do the binding on the passwordbox...
 
3:09 AM
Do you still have the link to that page that I showed you?
 
3:21 AM
yh
also
if I have
private class AdministratorData : PropertyNotifyBase
    {
        private string _AdminSocketID = "";
        public string AdminSocketID
        {
            get { return _AdminSocketID; }
            set
            {
                _AdminSocketID = value;
                OnPropertyChanged("AdminSocketID");
            }
        }
        private string _AdminSteamName = "";
        public string AdminSteamName
        {
            get { return _AdminSteamName; }
            set
            {
in the viewmodel, how do I bind to
_Administrator.AdminSteamName?
(where _Administrator = new AdministratorData();)
 
3:45 AM
Hi @Lynn
 
@LynnCrumbling Also, the ShowLogin is not working
 
3:59 AM
@LynnCrumbling Or I could be calling the wrong value... :p
 
 
2 hours later…
5:39 AM
so... how would i do image animations?
 
 
1 hour later…
user4433485
6:49 AM
@Markus I've checked the new toy, only a few problems I got them all repaired and waow.
 
7:16 AM
Oh, have you already rebuilt it to rwd??? that was fast!
 
user4433485
haha no it's not rwd.. yet
 
user4433485
I feel like I'm driving a little ferrari tho:p
 
that's the first fwd ferrari I ever heard of :P
 
user4433485
haha yes true but really, the sound is very very good and the acceleration as well
 
user4433485
too bad it's not red :p it's dark-ish gray with a nice smooth color leather interior
 
user4433485
7:21 AM
red leather <3
 
user4433485
is the Ferrari FF not 4x4 and rwd only when needed?
 
user4433485
8:04 AM
Coffee
 
coffee -> straight to my shirt + pants
the day starts well T_T
 
user4433485
8:42 AM
:D
 
10:45 AM
SV is bound to a ComboBox's SelectedValue
IS is bound to a ComboBox's ItemsSource
SV = 1
IS = { 2, 42 }
IS = { 1, 42 }
what does the combobox should display ?
(SV is not nullable)
 
11:06 AM
Afternoon folksis
Combobox should of course be 1 if your SV is twoway bound
 
I'm going to lunch but really it's a trick question, and by should I mean, what's a reasonable design...
 
user4433485
What do you eat for lunch? wondering because I've lived in France for couple years and I kinda miss their culture for lunch :p
 
How can i retrieve the missing number in a database? Lol
 
11:21 AM
2 messages moved to Trash can
@Dannehkown run MissingNumberFromDb.exe
 
11:37 AM
@Katherina sardine in oil + steamed potatoes / brocolis
not so exciting
 
user4433485
Hmm for a french.. nope:p
 
but sometimes I cook :)
 
user4433485
Damn lucky
 
user4433485
I'm a terrible cook
 
12:13 PM
it's just practice
maverik !
SV = 1
IS = { 2, 42 }
IS = { 1, 42 }
// break here, cb displays 1
IS = { 2, 42 }
IS = { 1, 42 }
// break here, cb displays nothing
 
Is the SV still 1 after IS = { 2, 42 } ? it binds two way by default and if the selected item is changed to Null it may change the SelectedValue as well
i mean the second IS = { 2, 42 }
 
sill 1 after the first IS = { 2, 42 }
if you want to try :
 
thats something odd you have there.. checking code
 
to sum it up, the behavior of the combobox is changed after it has seen a non-empty collection as ItemsSource
 
12:29 PM
this is sweet: being able to clone gists to desktop via github for windows
 
and I think -> // break here, cb displays 1
this behavior is just non-necessary, not to be expected, legacy implementation
SV = 1 should have failed validation in the first place
 
how should we start this program?
you start with empty collection.. should we click B and then B2 ?
 
yep
one click on B
then B2 (see 1)
 
nothing happens.. as I'd expect
and yes i see 1
 
then B2 again (1 disappears, failed validation)
 
12:35 PM
I think what you're seeing is a validation error
i dunno about you but I see a red outline around combobox - which makes sense since 1 doesn't exist in 2,3
at that point the combobox stops
(until you assign it a valid value) -- if you try the same experiment with 2 instead.. you get the expected behaviour
 
^ yes I said that, failed validation
 
great.. minds.. and all :)
i didn't see your edit before concluding sorry
 
no problemo
 
so i dont see where's the problem?
the code isn't making much sense in its current form
OC's shouldn't be getting reassigned anyway and I won't expose it as an IEnumerable
OC is meant for views - i'd expose it as such
 
why does the second click on B2 does not behave like the first click on B2 ?
 
12:39 PM
i have no explanation for that - i expected it to bug out from the first time
 
exactly
that's leak of internal state of the CB
 
yea that i can agree
it should have been invalidated from the start
 
yes but once it's in .Net...
 
pressing B was invalid
my guess would be this has something to do with CollectionViewSouce
(since your IEnumerable is being exposed to combobox via implicit CVS)
 
well we could check the sources
 
12:46 PM
'morning
@JoshMenzel Ah, so it's working now?
 
morning ya'll
 
hey :)
 
Morning
 
@franssu so I randomly searched System.Xaml yesterday on twitter to see what people were saying about it... scrolled down for like a minute. Saw that the System.Xaml PM responded to someone with a stackoverflow question... so I clicked on it to see what it was. From 2014, and just so happens the first comment on it was from you.
ohh us WPF lovers, we're everywhere!
 
on which question ?
 
12:55 PM
3
Q: Difference between Xaml Readers of System.Xaml and System.Windows.Markup?

user258620There are two Xaml Readers. One of them is included in System.Xaml the other one is included in System.Windows.Markup. What is the difference between them?

 
:)
 
I was thinking the exact same thing, then read your comment and laughed... great minds think alike ;)
 
how can it be this question, there's no downvote ?
:P
 
well, i thought, this is a pretty good question. how isn't it more popular?
 
ok :)
 
1:02 PM
so i guess not the same :p
 
short and simple question
0
Q: Wpf Rounded corners progress bar

SlashyI'm trying to make a simple progress bar with rounded corners. This is my xaml: <Grid> <ProgressBar Minimum="0" Maximum="100" Height="50" Value="50" Name="pbStatus" BorderBrush="Black" BorderThickness="3" Foreground="#336699" /> <TextBlock Text="{Binding ElementName=pbStatus, Path=V...

can anyone help/
?
 
2
Q: WPF : Rounded-Corners Images

Ahmed Ghoneim<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Background="Black"> <!-- Rounded yellow border --> <Border BorderThickness="3" BorderBrush="Yellow" CornerRadius="10" Padding="2" HorizontalAlignmen...

 
.....? not my case
 
Why not ?
 
im trying to make a progress bar.
why marking as duplicate lollll
dont be silly bro
 
1:10 PM
Just read the question and the accepted answer...
 
no.. i 've just read it
 
The property you looking for is CornerRadius on Border element, you should template the ProgressBar using a border.
 
Yeah thats not the same question...
And you'll have to change the template for progressbar
 
your ruining the communit
y
 
1:18 PM
@Slashy please stay calm
 
and please stop flagging
hello unregulars, welcome to the once so quite WPF room
 
that doesn't really answer his question either.
still quiet... not sure what the(ir) issue is. lol.
 
My job is done here, bye
 
Slashy, you can also ignore those that you do not agree with.
click on users avatar, and choose "ignore..."
 
morning
 
1:25 PM
0
Q: TreeViewItem with TextBox in WPF: type special characters

AShI need to edit some hierarchical structure and I use TreeView with TextBoxes Short example <TreeView> <TreeView.Items> <TreeViewItem Header="Level 0"> <!-- Level 1--> <TextBox Margin="5" BorderThickness="1" BorderBrush="Black" /> <...

 
why in feeds if it is solved?
 
hi guys
anyone know how to bind a b=combobox to a boolean?
 
so True or False is an option?
 
1:41 PM
it seems fairly popular to bind a boolean to a cb, why would people want that ?
 
dunno. wouldn't a toggle button or radio button work?
or checkbox
 
@user1892991 why do you want a cb to display a boolean ?
 
@user didn't we have this discussion already? :)
 
oh is he the same ?
:)
 
I thought so?
 
user4433485
1:47 PM
Back
 
now that MS has canceled silverlight, isn't there any way to use the stuff created in blend for web?
 
user4433485
My colleague was wondering the same @Markus
 
user4433485
He couldn't find something else
 
@Slashy you're ruining teh interwebz.
 
user4433485
@Markus My dad went quite mad because of my new toy lol
 
1:54 PM
nice reads @Maslow ;)
design of everyday things <3
 
and one day... I'll finish a book again, instead of just getting 25-50% through it
I think that I've been trying to make it past the halfway point on that book for >2 years
@franssu thanks
 
I think we all have the same problem
 
Where are @billdr now days?
 
billdrs on slack
along with sean and a few others
who the hells been flagging stuff?
ah i see the person has left.. cos I'd be flagging their rear outta the room
(i'm of course sad, i didn't get the chance - i've been itching to try the new kick tool)
Maslow top 4% overall
now going F# happy/crazy <-- I like this person already :D
 
2:09 PM
slack?
 
yea and i relayed your message there
slack is invite only chat system usually used for closed teams (Sean & I are there using it in official capacity -- that's how I know billdrs team)
though billdr's team is unofficial.. its more a gathering of friends
Courtesy of billdr's team's digging :)
 
@Maverik is there a slack wpf chat?
 
@Maverik thanks =)
 
yea there is but its just a wrapper around chrome
and welcome :) don't think I've seen you here before or I've just been wayyy to busy to realise
 
2:15 PM
a wrapper around chrome? you mean the slack wpf chat room, or was that about something else?
 
oh no.. Slack Desktop Client - is basically a Wrapper app around chrome
it's using embedded chrome
 
no I haven't been in here before, when the F# chat room migrated from SO to slack, and I changed jobs to primarily Wpf, since I wasn't using SO chat anymore, it hadn't occurred to me to search for a wpf chat room to help me ramp up.
 
i don't see much value in using the desktop client besides the taskbar button highlight
well I'm sure you'll find plenty of helpful people here
as long as you don't ask RTFM questions .. which I'm not expecting :)
 
cool, anyone have thoughts on if fontawesome, or loadawesome have a useful place in wpf development?
 
fontawesome certainly has place in WPF
MahApps uses it pretty extensively
i believe Elesium has a similar usage but it uses Iconic
ModernApp probably uses FontAwesome too
(that covers all mainstream modern ui frameworks i think)
 
2:19 PM
well, as far as RTFM level questions, I'm sure I have some in WPF land. Despite knowing knockout, angular 1, react, winforms, and asp.net mvc: I still can't seem to grasp many basic wpf objects/concepts.
 
well its fine
we can point you in direction
but like rest of SO we do expect you to use google after we've pointed you in right direction :)
fortunately the helpful people here are much more liberal when it comes to RTFM questions than me.. I'm the bad guy here
cos you know.. somebody has to be villain too :)
Also, not to scare you away as such.. it does depend on context.. as long as it's evident you're trying and having trouble.. we're a lot more helpful than a copy paste of a SO question and expecting a reply NAO :)
and people like Slashy instantly set me on fire with comments like "you're ruining the community"
yea.. all things that i don't expect from somebody experienced with SO enough to be at 8k rep :)
so you'll have no problem fitting in and looking forward to a new regular here!
now.. the real reason i came here .. and has nothing to do with WPF .. of coruse!
Task.WaitAll(organisation.SetDfsPathAndStorageServerAsync().ContinueWith(x => organisation.SetQuotaInformationAsync(), TaskContinuationOptions.AttachedToParent), <-- Task doesn't wait for child task.. I would have imagined that Task.WaitAll is receiving Continuation as the task to wait on..
am I wrong to assume that?
 
sorry was afk super updating my stackexchange/SO profile
 
oh hehe
np.. we tend to be pretty slow with replies since we're all busy with jobs
 
I'm wicked busy, solely because my job as of March is primarily Wpf when I don't really know Wpf. Wpf hasn't been very rough, but Telerik Wpf has been killing me.
 
lol that's a world in itself
it's so wide spread.. if people had learned real wpf.. they wouldn't generally need telerik IMHO
telerik basically made profits based off people's resistance to change from winform to wpf
 
2:32 PM
that's the same way I feel about most web user controls.. if people knew a decent binding framework
 
because of that basis, telerik is a mess once you know how the underlying framework actually does things
and it does everything you want it to
 
I have 2 apps I'm in charge of, one written by someone that was good with Wpf, and the one I'm focused on right now, written by someone that is suspected secretly farmed their work out to another country while getting paid as if they did it
 
my favourite example: SelectedValue .. there's a reason this thing was abandoned
 
yeah, that's the same story in html land
 
because WPF gave us IsSelected on individual items
but we refuse to change
but good luck with your new job role.. you're gonna need it :D
 
2:34 PM
There's a set of telerik grids we have on a wpf page, where one or both can get stuck in you have an invalid cell, and you aren't allowed to focus anything else on the page.
 
we have two regulars here who use telerik i think so you can try getting some help
generally speaking whenever they've raised questions here.. it has ended up in teleriks support because they weren't actual problems with wpf
I believe @NETscape is one using telerik?
and I can't remember the other person.. was it Johan netscape?
 
I've seen telerik's support responses, they tend to be pretty poor.
 
I've usually had luck with them... haven't had to use them in awhile though.
 
any chance anyone in here has experience migrating from Tfs -> TfsOnline?
 
But do you use Snoop Maslow?
 
2:37 PM
I have with some very limited success, as it seems many times if I try to inspect a popup, it somehow targets the mainwindow instead
 
I dont know of that exact migration, but I believe @JohanLarsson could be of help with TFS
Snoop .. who needs it when you have VS2015 with builtin Snooping :)
 
any thoughts from anyone regarding the use of showintaskbar vs. not for popups?
http://stackoverflow.com/questions/32127865/what-are-the-pros-and-cons-of-showintaskbar-for-a-window-that-you-are-going-to
can you seriously compare VS2015's built in snooping with Snoop?
 
@Maslow It would be hard to diagnose the issue without seeing the source code, but I suspect its something with validation or/and codebehind of the developer. Also possible celledittemplate and the type you're binding.
 
or was that sarcastic?
 
my VS2015 visual tree inspector has crashed probably 4 of the 10 times I used it.
 
2:39 PM
That question is going to get closed i think
you can get comments for that, but not a definitive answer
 
it's not subjective
pros and cons questions are pretty widely accepted I believe
Re: snoop failures. well, it might be related, but I've just recently discovered you are supposed to set the owner of a popup. also I'm using popup in a broader sense, none of them seem to use whatever that specific Popup Xaml control
 
well I guess we'll find out soon :) My instinct is to leave a comment but not an answer
 
i guess there isn't a pro v. con. its mostly based on requirements?
 
I personally don't use Windows at all (using overlays / view swapping instead), but if i did, i wouldn't show it in taskbar
 
well, to me it's not req, it's what are those features there for? what benefits/costs
 
2:42 PM
if you want someone to navigate to the window via task bar or not?
 
I hate dialogs/popups in all cases. I'd rather do view swapping, but I don't know how
 
as a user I expect taskbar buttons where the window is persistent and I'm doing something with it. if an apps just wants an input or tell me something is wrong.. i don't expect another window
i expect an alert on the owner window in taskbar
 
well it's not that simple I'd think, if they are modal, what would be the use cases of that property?
all windows we have in the app are modal
none are just .Show()
 
oh and the argument: it'll hide behind other window if you forget to set owner -- it's a bug that needs fixing.. it shouldn't be sticky taped with a ShowInTaskbar
 
so before Owner was being set tabbing to one of the many non-foremost popups just failed without necessarily selecting the actual foremost
 
2:43 PM
^ what Mav said
I ran into that...
and I was trying to set during startup, which caused additional issues. my update dialog was getting stuck behind main window.
 
Any thoughts on how I'm handling the owner deal?

    public static void SetOwner(this Window popup)
            {
                if (popup.Owner != null)
                    return;

                var proposedOwner = Application.Current.MainWindow;
                if (popup != proposedOwner)
                    popup.Owner = proposedOwner;
            }
 
how is popup set?
 
from a code review point of view, i'd say take another optional parameter in of type Window
 
is only the mainwindow creating popups?
 
oh, good plan marverik
 
2:46 PM
and default it to Application.Current.MainWindow :)
 
no, netscape
 
if popup.Owner changes... it won't be updated persay?
doh
 
well, I assumed it was possible that in some cases wpf preset or knew the owner, it seems I was wrong.
but either way, I figure it was good not to change it if it was set before
 
maybe its a good time to learn view swapping :) ?
hey @Denver
@Maslow it should work in your case since everything is modal. If it wasn't, and you closed an owner before the child, not sure if it would get disposed/throw exception if you try to refer to it again
 
hard deadline for ICD10 capabilities. hard to learn new things with tight deadlines =/ govhealthit.com/news/…
 
2:58 PM
anyways, looks okay, just make sure to test it :)
if you set showintaskbar = false especially
 
So anybody wants to take a stab at my Task question? :(
var bufferTask = organisation.SetDfsPathAndStorageServerAsync().ContinueWith(x => x.Result.SetQuotaInformationAsync(), TaskContinuationOptions.AttachedToParent);

                Task.WaitAll(bufferTask,
 
02:00 - 15:0015:00 - 22:00

« first day (1048 days earlier)      last day (3101 days later) »