-
- Character spacing in TextBlock/TextElement
by itowlson
- 5 Replies
- Last post
by Wolf Schmidt - MSFT
- Is there a way to change the spacing between characters in a WPF text element Something like the CSS letter-spacing property Thanks!
-
- Launching a Window from TabControl.SelectionChanged event (bug?)
by Peter E
- 4 Replies
- Last post
by Peter E
- The TabControl behaves really strange when launching a new window from a TabControl.SelectionChanged event handler. Below is a simple test app that shows this issue (xaml and code behind). The app has a TabControls with two TabItems. It is supposed to launch a popup window when the second tab (Tab2) is selected. And close the popup window if tab 2 is deselected. The strange thing is that if i sele
-
- Binding to Foreign Key doesn't Bind to Source?
by -=B3N=
- 1 Replies
- Last post
by -=B3N=-
- Hi
If I have a combobox bound to the 'detail' foreign key of two tables, selecting an item in the combobox doesn't seem to select the corresponding row in the 'detail' datatable. 'IsSynchronizedWithSource' is set true. What else could be stopping this
I ask because I have a checkbox which relies on this 'currentrow' being selected so I can bind to it.
-
- Context menu shortcut keys
by FinallyInSeattle
- 5 Replies
- Last post
by Eugene Dolinskyy
- I have the following textbox in a Window that contains a menu as well. While the "Ctrl-X", etc short cut keys work fine for the menu items, my customer is complaining that the declared "Alt" keys don't appear. Whenever I press the Alt key, it is the main menu that receives "focus". How can I make the declared "Alt" shortcuts appear
Thanks in advance!
-
- TabControl / TabItem using Designer Window
by Joel Clipperton
- 3 Replies
- Last post
by lee d
- I've added a TabControl to a WPF window and I want to edit the TabItem content in the designer window but I'm only able to edit the first tabitem. If I open the project up in MS Expression Blend I am able to gain access to the other TabItems. I am not willing to pay a few hundred bucks more for Blend when I should have the ability to do it in Visual Studio 2005. Any suggestions
-
- Data Source Configuration Wizard Not Available For Access Databases In Visual Studio 2008 Beta2
by bobm
- 1 Replies
- Last post
by Erick Thompson - MSFT
- Dropping an access database on the solution explorer does not activate the Data Source Configuration Wizard. Adding the access database with the "add existing item" menu item also does not activate the Data Source Configuration Wizard.
Is this a problem with my installation (Vista) or has support for access databases been dropped from Visual Studio 2008
Thanks
-
- Animating a Path object along a line
by Scott Grosch
- 8 Replies
- Last post
by Scott Grosch
- Given a Path object, I want to slide it along a straight line in some direction. I'm having a really hard time figuring out how to do this from C# code. I was able to get something kinda working via Blend and XAML code, but my Path is created in C#, not XAML, and the code generated by Blend wasn't something I could figure out how to conver to C#.
The Path represents a pie slice so it's sim
-
- How to fire an event from another event handler?
by Kofoed
- 5 Replies
- Last post
by Dr. WPF
- I have a UserControl which is derived from the TextBlock control ... I want to fire the MouseLeftButtonUp event when the TextBlock has some keyboard input (like when it has focus and the enter button is pressed). I'm trying to implement code something as follows:
Code Block
public Eclp_LinkLabel()
{
this .InitializeComponent();
this .KeyUp += new System.Windows
-
- [Outlook Form Region] Copy/Cut/Paste (with keyboard) on TextBox does not work ?
by Thomas LEBRUN
- 6 Replies
- Last post
by Thomas LEBRUN
- Hi everyone,
I'm using an Outlook Form Region with different TextBoxx and I want to copy/cut/paste by using my keyboard nut it doesn't work. Is it normal On a normal WindowsForm, it works fine.....
Any ideas
Thanks !
-
- May CTP install fails on Vista
by _mthz
- 14 Replies
- Last post
by ndycrlr
- I'm trying to install the May CTP on Vista RTM running VS 2005 SP1. The install fails immediately with the following error message:
"The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2738."
If I run "msiexec /i "LINQ Preview (May 2006).msi" /log log.txt" and log the MSI ins
-
- Can Application.Properties be use as DataContext in xaml directly?
by LeoXue
- 1 Replies
- Last post
by Sam Bent - MSFT
- Hi,
I have stored some data in Application.Properties. Can these data be used as DataContext in xaml binding
-
- ListBox Items and keyboard events
by IdoMC
- 4 Replies
- Last post
by Karul
- Hello
In my xaml code I am displaying a ListBox with ItemsSource bounded to an xml.
I am using a DataTemplate to display an Image and some other content for each item in the list box.
My problem is with events ¨C I need that the image will change its size when the item gets focus.
So I am using ¡° < DataTemplate.Triggers >¡±
With the mouse I have no problem (I am using Mouse
-
- RichTextBox layout behavior inside a ListBox
by RonanH
- 0 Replies
- Last post
by RonanH
- Hello,
I've noticed a strange behaviour in the layout system when using a richtextbox inside a listbox. Here's a small example of the problem:
<Page xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml "> <Border> <ListBox> <ListBoxItem> <TextBox >TextBox</TextBo
-
- UIElement.LayoutUpdated event - why no parameters?
by JoeWood
- 5 Replies
- Last post
by JoeWood
- I'm trying to hook into the layout behavior of the Panel classes from a child element perspective. Specifically I'm trying to find the new layout position of an element based on the Arrange step by hooking the above event. Unfortunately the event sends very little information regarding the arranged element.
Will this be fixed in WPF 3.5 or is there a better event to use
Thanks
-
- WPF pre-requisites
by hoobas
- 1 Replies
- Last post
by bitbonk
- What do i need to start developing WPF applications, what to setup
-
- When is BeginTryReceive invoked?
by BrettM
- 14 Replies
- Last post
by BrettM
- I have been testing using the ChunkingChannel sample, and occasionally I have noticed after running for a while, my app starts taking a lot of CPU. I attached with the debugger and found that BeginTryReceive() is being invoked on the ChunkingDuplexSessionChannel over and over again. However, since it is a sample, that method simply throws an exception saying "The method or operation is not im
-
- Creating a drag cursor
by John Dunn
- 4 Replies
- Last post
by John Dunn
- Is there a way in WPF to create a drag cursor I'd like to generate a nice looking drag image similar to the drag image that's created when dragging from Explorer in Vista. I've noticed that the Explorer drag image only works over some destinations ( IE, explorer, desktop ) and it reverts to the canned DragDropEffects cursors over other windows ( like Visual Studio ) - this makes me think that the
-
- MSVS 2008 (Orcas's Beta 1) can't deploy Excel 2007 add in
by Whyme&#63;
- 6 Replies
- Last post
by Whyme?
- I've been hunting for 2 days trying to get an answer.
Can someone please explain to me in english what is needed to get an excel 2007 plugin to work on a non development machine They never load, they just say "Error loading plugin during startup"
I've tried bootstrappers (they don't work, always error out when I compile the code), publish wizards (never create a setup.exe)
-
- Copy/Paste in a Canvas
by uk_softengg
- 9 Replies
- Last post
by uk_softengg
- Hi there,
I am developing a win apps in wpf, in which i want to copy, paste, etc to shapes that are drawn onto a canvas. Can we use clipboard method that we use in old method If we use ApplicationCommand.Copy, where would it save the copied shape Also how can i paste the copied shape to the canvas programmatically !!!!
pls help me
-
- Hosting Wcf Service in ASP.NET
by Gladston 007
- 3 Replies
- Last post
by Dwight Goins
- Hi,
I am trying to use an ASP.Net application to communicate with a WCF service. I am able to reference the web service in my client. But when I invoke the WCF service, it just times out. I tried to consume the same service using a windows app and did not have any problems. Is there some configuration i am missing
-
- ZAM3D , ModelVisual3D cat = this.MyCat.MyCatModelVisual3D; but the cut....
by Epsilone3
- 7 Replies
- Last post
by Charles Petzold
- Hi :
Ive got this code :
/// MyCat = zam3D object ; XAML ////
And ... I've try to do this :
ModelVisual3D cat = this .MyCat.MyCatModelVisual3D;
// Checking cat in debug mode give that cat =
// System.Windows.Media.Media3D.ModelVisual3D} //
// But in the next line -> //
TranslateTransform3D tt3
-
- Button click event is not fired without debugging
by Warren.Tang1
- 2 Replies
- Last post
by Warren Tang
- Hi,
I am building a simple WPF browser application(XBAP). However the button click event is fired only when debugging. When I run it with CTRL+F5, the event is not triggered. What's going wrong
I am using VS2008beta2 and Windows Vista.
Thanks a lot.
Code Block
<Button Margin="49,121,73,149" Name="button1" Click="button1_Clic
-
- orcas to assist with inline languages
by Thomas Remkus
- 1 Replies
- Last post
by Peter-Michael Osera - MSFT
- Will there be any enhancements in Orcas or __asm blocks The one that I have always wished for was the __c block so I did not need to create a different file and compile settings just for a few functions that are best coded in C. Any help that you have assist in the asm is wonderful since it seems to have been just neglected. I would love to use more .IF MASM code in those blocks but it has no idea
-
- DataShape
by Polina159216
- 5 Replies
- Last post
by Miha Markic
- Where can I see simple sample how to use DataShape instead of Including
I have this code:
var referenced = from c in assembling.Computers where c.Computer_Id == 1 select c.Lot; referenced = referenced.Including(h => h.Model);
Samples here http://forums.microsoft.com/msdn/showpost.aspx postid=1275820&SiteID=1 don't give understanding
-
- orcas beta 1 setup failure
by Cryo75
- 3 Replies
- Last post
by Gus Perez - MSFT
- Hi,
I'm trying to install it and I get the following error:
The Windows Installer package:
c:\orcas\vs_setup.msi
could not be opened.
Please help!!
Thanks,
Ivan