|
How about using the new datagrid in the wpf toolkit?
http://www.codeplex.com/wpf[^]
This can autogenerate columns, not sure if it will solve your problem though!
|
|
|
|
|
Hey Guys,
I am attempting to drop a WPF User Control onto a Windows Form, and I am getting a weird black border that only shows up on the left hand side of the control. It seems like it is coming from the ElementHost, but it does not have any border properties. Has anyone else experienced this? Anyone know how I can fix it?
|
|
|
|
|
I am using C#, Visual Studio 2008, and the 3.0 framework.
|
|
|
|
|
Hi,
I have a WPF custom created "color palette control" like in office 2007(If you want , you can see how the color palette control looks like my control in the following location http://blog.actiprosoftware.com/post/Ribbon-for-WPF-Adds-Mini-Toolbar.aspx )
I need to implement various features on color palette by adding properties.I can create those properties,if you people provide suggestions regarding the properties(i.e)what are all the properties we can add to give different look to the color palette control.What ever you like to have on the color palette,you can suggest.So,Please suggest me the ideas whatever you think,it will be more useful to proceeed my work.
modified on Tuesday, November 4, 2008 11:58 PM
|
|
|
|
|
I might be missing something basic here, but I am new to WPF ...
Anyway, I am trying to create a dynamic list (nr of columns and data depends on content of a file).
I used the GridViewHeaderRowPresenter for the header (displays fine) and am trying to use the GridViewRowPresenter to add rows to the list.
The problem I have is that the columns of my GridViewRowPresenter all show Object[] Array in stead of the actual data.
Since the makeup of the list is dynamic the xaml part of the list is actually only this:
<stackpanel x:name="MyGridViewList" orientation="Vertical" >
<gridviewheaderrowpresenter x:name="grdViewHeader" columnheadercontainerstyle="{StaticResource MyHeaderStyle}" />
</stackpanel>
In C# behind I do the following
GridViewColumnCollection colCollection = new GridViewColumnCollection();
grdViewHeader.Columns = colCollection;
object rowObj;
while( null != (rowObj = RowParser.GetNextRow()) )
{
GridViewRowPresenter rowPresenter = new GridViewRowPresenter();
rowPresenter.Columns = colCollection;
rowPresenter.Content = rowObj;
MyGridViewList.Children.Add(rowPresenter);
}
The object array that the GetNextRow returns is an array that can contain a mix of both strings and integers. It was my impression that automatically the rowPresenter would convert each member to a string value. This is not the case however.
Can someone guide me to what is wrong here?
Thanks in advance,
Davy
|
|
|
|
|
Hi!
I've created a small application, a WPF client which is talking to a WCF service. My app is self-hosted.
Now, I'd like to run this outside the IDE (Visual C# 2008 Express Edition). That is, to deploy/install my app. I'd really appreciate some advice or links on how to do this. I've been looking around, but I still need some entrance to this somewhat fuzzy area.
Thanks a lot!
|
|
|
|
|
This is a little off topic for the WPF list really ...
Once you have built the release versions of your .exe and/or your dll files those are ready for prime-time ... including bugs!!
At present I'm using Inno Setup to produce my installers and I'd say this is a good place to start. The bigger versions of Visual Studio include a Setup project type but since your on Express you don't have that option. At to be frank I don't think your missing out since I hate that feature!
Just to bullet point it:
1. Get your release versions built (try running the release version on your machine and some other machines as a test).
2. Grab Inno Setup http://www.innosetup.com/isinfo.php[^]
3. Work through the example install scripts that are supplied with Inno Setup (there are some nice tools to help you like http://www.istool.org/[^])
4. Compile your setup and deply ...
This is hugely reduced list but should get you started.
Once your comfy here move onto WixEdit ...
|
|
|
|
|
Thank you!
|
|
|
|
|
How to set One Window inside the Area of another window?WPF.
i.e
The First window is containing Only the Ribbon Control and open in windows maximized state. And when we click any button or TabItem in The Ribbon Control A new Window is opend. I Need to set the newly opend window inside the MainWindow's Area excluding Ribbon.
Thanks.
----------------------------------------------------------------
MainWindow
-----------------------------------------------------------------
RibbonControl
-----------------------------------------------------------------
NewWindow
------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|----------------------------------------------------------------
|
|
|
|
|
When you talk about creating one window inside another, what you are normally talking about is creating an MDI window. Now, WPF does not provide native support for MDI because Microsoft is trying to deprecate this technique, preferring Multiple SDI applications. However, to achieve the affect you are after, I would normally create the item you call NewWindow as a UserControl - and then I would make it a child of the MainWindow, stacked below the RibbonControl.
|
|
|
|
|
Dear Pete O'Hanlon
Thank you very much for the replying to my query. Very Sure it is MDI appliaction. In Windows form application we can do this by simply making an MDI application. As i have to display The windows based on the choices made by the User.I.e Find a record,Add,Update,Delete etc. So we have to display each window for each specific task and all the windows should have ChildWindow(top,left) just at the intersection of Ribbons(bottom.left).
Can i do this manually.If Yes how?
Thanks.
|
|
|
|
|
Well, as I said - MDI is a technology that MS is trying to deprecate so WPF does not feature support for it. One common way to simulate it, though, is to use a TabControl to give an application an MDI look similar to the one you're used to in Visual Studio.
A good place to start is by reading this post[^] by Karl Shifflett. While it's written in VB.NET, it isn't hard for you to translate it into C# if that's what you want.
|
|
|
|
|
Thank you very much.I'll try it. And hope to find out a way.
|
|
|
|
|
|
Hi
I've had 'Expression Blend 2.5 June 2008 Preview' , when I wanna test my project (F5) instead of my App this [^]page show and I can't test my project anymore.
By the way I've installed 'Silverlight.2.0' .
What's wrong with it ?
|
|
|
|
|
It's looking for a version of Silverlight that isn't installed, and that you wouldn't want to install (basically it's one of the beta versions). You need to upgrade your version of Blend to use the Silverlight SP.
|
|
|
|
|
Hi.
Is it possible to create a window that everything in back of it show with Blur effect !
Something like this[^] or this[^]
Thank you
|
|
|
|
|
This effect is the Aero glass effect, and if you want it to extend you can use a technique like this[^].
|
|
|
|
|
It sounds to execute only on vista !
|
|
|
|
|
Well yes - that is true, but there are "alternative" versions - e.g. this[^] one.
|
|
|
|
|
|
My Company has purchase Visual Studio 2008. I want use Silverlight, am new to a Subject. I have a Book and Some Articles that can allow me to do a Hello World App. But now in my VS i Dont see the Option of Silverlight. The Articles i read , they give me options to download beta Silverlight tools. I want to use Silverlight in Visual Studio 208 Express.
Thank you
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
You can download the Silverlight things you need here[^].
|
|
|
|
|
does anyone came across about something about that?
I have a UserControl containing a Label and a TextBox. During Designtime I want a nice looking adorner that enables me to size them. Right now I have a adorner with a slider, that is no problem. But even only I use this right now, I dont like this solution.
thanks in advance for any further hints or information!
Cheers, Christoph
|
|
|
|
|
Do you want to extend the current Visual Studio TextBox and Label controls as you are designing them in the WPF Designer, Cider?
modified 27-Feb-21 21:01pm.
|
|
|
|