|
...yeah... that's the general idea. Lol thanks. Alas I don't have Fireworks, and I don't think I know enough to tweak those seemingly random values by hand.
It looks good tho, so I might just use that for now, if you don't have any objections.
Logan
“Time and space can be a bitch.”
–Gushie, Quantum Leap
{o,o}.oO( Looking for a great RSS reader? Try FeedBeast! )
|)””’) Built with home-grown CodeProject components!
-”-”-
|
|
|
|
|
No objections here.
chaiguy1337 wrote: seemingly random values by hand.
You mean you can't read them? And I thought they were soooooo obvious.
|
|
|
|
|
“Time and space can be a bitch.”
–Gushie, Quantum Leap
{o,o}.oO( Looking for a great RSS reader? Try FeedBeast! )
|)””’) Built with home-grown CodeProject components!
-”-”-
|
|
|
|
|
|
Nice. Very nice. Cheers mate.
|
|
|
|
|
No bother ... the timing is impeccable as I was looking to use the Infragistics DockManager control ...
Mmmm ... WPF goodness!
|
|
|
|
|
I have a custom control that expands upon mouse click, if i put my control in a groupbox, the border of the group box gets drawn on top of the part that expands outside the groupbox size. Any idea how to make this appear on TOP of it? I want to make it like the ComboBox dropdown works by default (always on top of anything).
|
|
|
|
|
|
Then would you also have to manage the location of the popup when the window is moved, as it does not move with the window once displayed. Is there not a better way to implement this?
|
|
|
|
|
Not if you want it to extend past the bounds of its containing layout panel, at least not any that I know of (but then again I'm new to this too).
“Time and space can be a bitch.”
–Gushie, Quantum Leap
{o,o}.oO( Looking for a great RSS reader? Try FeedBeast! )
|)””’) Built with home-grown CodeProject components!
-”-”-
|
|
|
|
|
If you are simply talking about ordering the layers inside a canvas or grid cell, however, take a look at Panel.ZIndex.
“Time and space can be a bitch.”
–Gushie, Quantum Leap
{o,o}.oO( Looking for a great RSS reader? Try FeedBeast! )
|)””’) Built with home-grown CodeProject components!
-”-”-
|
|
|
|
|
Thanks! Learn something new every day!
|
|
|
|
|
Hi,
How can I change Image's source on MouseDown event?
Thanks
|
|
|
|
|
I would use an EventTrigger to do this.
|
|
|
|
|
I have the same problem, and EventTriger is not allowing me to use a Setter
Can you be more specific?
Thanks
|
|
|
|
|
Can any one Help,
I have tried add Controls to ListView Control in WPF Application.
<br />
private void Form_Load(object Sender, RoutedEventArgs e)<br />
{<br />
Button btn = new Button();<br />
btn.Name = "Button1";<br />
btn.Content = "Button Text";<br />
listView1.Controls.Add(btn);<br />
<br />
}<br />
But I got the Error
'System.Windows.Controls.ListView' does not contain a definition for 'Controls'
How to add Controls to ListView Control in WPF
Thanks,
Sivaprasad
|
|
|
|
|
|
Hi i am using WPf for my app.
I have created a button. I disabled that button by default. I want to enable that button in some other file( not code behind) in the project at some point of time according to my logic ( in different cs file). How can i access that button?
Does any one have any idea how to do this.
Santhapur.
|
|
|
|
|
You can use the LogicalTreeHelper class to find the button. Alternatively, you can use the FindName method in the FrameworkElement class.
|
|
|
|
|
I did not get you Logical tree class? Can you please explain in brief
|
|
|
|
|
|
MainWindow w = new MainWindow();
System.Windows.DependencyObject x = System.Windows.LogicalTreeHelper.FindLogicalNode(w, "btn");
is this the correct way ? how can i change the properties of button after accessing ?
santhapur
|
|
|
|
|
I have a Windows Form app communicating with a remote web service. Up until now, the app was a .Net 2.0 app using Web Services. Today, I converted the app to 3.5 so I could use WCF. I created a "Service Reference", and it created a bunch of files, and subsequently added stuff to the projects app.config file. I would rather have the stuff in code rather than the app.config file. Where can I get guidance on moving it to where I want it?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
All of the elements in the config file can be moved into code. This[^] book makes a good stab at showing what goes where.
|
|
|
|
|
I have that book (and this is my first foray into the wonderfully stupid world of WPF), but...
One of the generated files is called Reference.cs - it's got 10,000 lines of code in it - geeze! All of the classes are partial. What am I supposed to do with them?
So little documentation - and even less time... :/
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|