I suggest you ...

Allow to initialize multiple fields to the same value in one statement at constructor call

When using http://github.com/zoomicon/ZUI I would like to write:

FloatingWindow window = new FloatingWindow()
{
Content = display,
Title = IconText = title
};

but I have to write:

FloatingWindow window = new FloatingWindow()
{
Content = display,
Title = title,
IconText = title
};

instead. For consistency, I'd prefer that it supported such assignment. Now it thinks IconText is some external field or similar

0 votes
Vote
Sign in
(thinking…)
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
birbilis shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base