-
- Hw Rendering with WPF on Windows XP with Permedia3 XPDM Sample Driver.
by David Scholten
- 1 Replies
- Last post
by David Scholten
- HI, I am trying to use the Permedia 3 driver from the DDK samples along with a 3dlabs Oxygen GVX1 card to investigate 3d performance in WPF with Windows XP from the device driver perspective.
When I install the GPU and driver on XP, I get tier 0 back from my wpf application which causes all rendering to be done in software. I run with debug direct3d runtime and see GetAdapterIdentifier is
-
- How to scroll WPF Listbox to the end?
by Alex Farber
- 3 Replies
- Last post
by lee d
- How can I scroll WPF ListBox to the end programmatically Selecting of last item doesn't work as in Windows Forms.
-
- System calls in C#???
by SaiSatish
- 1 Replies
- Last post
by Scott Nonnenberg MSFT
- how to send System calls using C#
-
- Button click event in March CTP
by AndrewJones123543
- 2 Replies
- Last post
by Rob Relyea
- How do I add a button click event to a WPF button with the March CTP
-
- Retrieving default ItemContainerStyle
by BrandonW
- 4 Replies
- Last post
by BrandonW
- Hello,
When retrieving default styles, I know you can use the following code snippet to get the xaml:
object defaultStyleKey = control.GetValue( FrameworkElement.DefaultStyleKeyProperty);
Style style = (Style)Application.Current.FindResource(defaultStyleKey);
string xaml = System.Windows.Markup.XamlWriter.Save(style);
or
string xaml = XamlWriter.Save(control.Tem
-
- Setup stalls while installing .net framework 3.5
by PauleyToo
- 6 Replies
- Last post
by David Burg - MSFT
- While installing VS 2008 Express setup, the system stalls (CPU usage 100%) with task " Currently installing (1 of 5): Microsoft .net Framework 3.5.
I suspect it may because of not enough space on drive C: It has less than 2.0 GB. The install message indicated that 1.5 GB required on drive C: and 400mb required on Drive E: I set the install directory to drive E:/program files/Micros
-
- ListViewColumnHeader
by Andree1
- 5 Replies
- Last post
by lee d
- Hello, I have a quetion. have ListView with GridViewColumns and I need to make filters in each header(column), I want to have there TextBox where you can enter the text and Column will be filtred according this text. I tried to do that via templates but there is a problem because Name o TextBox is needed in C# code for filtering, I don't know how to make template "dinamic"(only one temp
-
- Cannot install VS 2008 Beta 2 on Vista
by BartC78
- 14 Replies
- Last post
by itoleck
- I am getting an error stating that the .NET 3.5 framework cannot be installed. It keeps failing with an error like this:
[07/30/07,14:10:35] Microsoft .NET Framework 2.0SP1 (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 2.0SP1 (CBS). MSI returned error code 34
[07/30/07,15:01:46] Microsoft .NET Framework 2.0SP1 (CBS): [2] Error: Installation failed for comp
-
- Databinding and event
by MrCyprom
- 4 Replies
- Last post
by Yi-Lun Luo - MSFT
- Hi,
I try to find a way to display elements in a list when I check a checkbox and function of the checkbox, the elements displayed in the list are not the same.
Moreover elements in the list use databinding.
I try via codebehind, but I don't how to create databinding in it.
If somebody has a solution.
-
- Creating FlowDocuments
by Raghav
- 3 Replies
- Last post
by Raghav
- Is there a tool to create Flow Documents I tried to use the Microsoft Expression Blend but when I open a FlowDocument in Blend it shows only the first page and I cannot do anything with it.
-
- TreeView binding issue
by DiamonDogX
- 1 Replies
- Last post
by Josh Smith
- I have a Dictionary with Key/Value pairs. I have a TreeViewItem whose children I want to be binding to the Dictionary's Values. So I set its ItemsSource to the Values property of the dictionary. But when I update the dictionary, the TreeView doesn't update, presumably because I'm not using an ObservableCollection Do I HAVE to use an observable collection Why can't I use a different data structur
-
- DateTime Picker Control
by Calanis
- 5 Replies
- Last post
by Marlon Grech
- Does anyone have idea of how to implement a DateTime picker on a XAML
-
- Sometimes debug break points didn't get hit ! Snapshot added.
by Epsilone3
- 5 Replies
- Last post
by Epsilone3
- Hi
My break points on the constructors get hits.
But break point on OnMouseMove { } ,and other event Route don't get hit.
Also when I try to do create automatic routh event .
Something like :
this.OnMouseMove +=... { nothing shows up over here }.
Also trying to use :
mage -cc , to clean the cache ,
didn't seems to do the trick.
-
- WCF Test Client
by Skev
- 1 Replies
- Last post
by Jibu George
- I have watched a really good webcast for that shows that used a tool called teh WCF Test Client when you runa WCF Service Library however, mine appears to be missing. Can anyone tell me how to find it, or set it up.
Alixx
-
- How to set Mask in Xaml
by senthil_cst
- 3 Replies
- Last post
by LesterLobo - MSFT
- Hi,
I am using Third party control for setting mask in Xaml. How can i set the mask without using thirdparty controls. For Example if i set the mask for Phone number,the textbox cannot accept the characters it accept only integers.
Anyone help me
Thanks in advance
Senthil.
-
- [Animation] Complete event
by IgorP
- 2 Replies
- Last post
by IgorP
- Hello,
I wrote the following animation and I am wondering, why the Complete event, assigned to Storyboard isn't triggered. The animation works fine, ellipse moves from one position to the other.
public Window1() {
InitializeComponent();
TranslateTransform translate = new TranslateTransform (100, 150);
NameScope .SetNameScope( this , new NameScope ());
Ellipse ellipse =
-
- FlowDocumentReader -> Height in PageView & ScrollView ???
by PlaTyPuS8
- 8 Replies
- Last post
by PlaTyPuS8
- Hi! I've a little problem with FlowDocumentReader. I can't find a solution to display multiple flowdocumentreaders (in a listbox) and have a pretty display with PageView. With ScrollView, the height of the flowdocumentreaders is set automatically (depending on content!). But with pageView the display is catastrophic!! -> when I have small content, the reader takes nevertheless all the place in
-
- How To Add a newline literal in Textbox
by Tedy Pranolo
- 2 Replies
- Last post
by LesterLobo - MSFT
- I'm trying to create a Textbox with the Text using XAML: Line1 Line2 In code can be done this way: Textbox1.Text = "Line1" & vbNewline & "Line2" But when i try to set in in XAML this way: <Textbox> Line1 Line2 </Textbox> when the application is ran, the whitespaces are ignored, and the textbox shows: Line1Line2 Is there a special notation to specify new l
-
- DLINQ DataContext Memory Leak
by Vladimir Georgiev577590
- 8 Replies
- Last post
by Vladimir Georgiev
- I am working with my fellow team mates on distributed application and we choose, DLINQ as your Data Access Layer. DLINQ is very, very cool. But I have noticed slight memory increases when using multiple datacontexts. Let me give you an example : Assume we have a service called FooService, which has a method called GetBunny(); Each time the FooService.GetBunny() is called a new DataContext is creat
-
- Load a Image in XBAP
by srocac
- 2 Replies
- Last post
by digitalnetbizz
- Hello I'm a problem,
I have created a xbap application. I need brush a image and the code is:
Code Snippet
myBrushblack = new ImageBrush ();
myBrushblack.ImageSource = new BitmapImage ( new Uri ( " @ FondoNegro.png" , UriKind .Relative));
The source of the image is C:\Documentsand....Example\..\Debug\Fondonegro.png
When the app st
-
- WPF Custom controls.
by _xx
- 4 Replies
- Last post
by _xx
- I have created a custom control with a textbox and a button which validates the entered text against the database. It is working fine. I can¡¯t include a same custom control again. It gives me same text on both controls. It is working fine with a one control in a page. When I add another instance of the same control, both the text boxes displaying the same text. How can I sole this problem.
-
- Named controls in XAML in a custom control
by NoSuchThingAs2
- 3 Replies
- Last post
by Marco Zhou - MSFT
- I wrote a simple custom control, then tried to use it and I get this error:
Error 1 Cannot set Name attribute value '_myTextBlock' on element 'TextBlock'. 'TextBlock' is under the scope of element 'MyControl', which already had a name registered when it was defined in another scope. Line 7 Position 14. C:\Documents and Settings\User\My Documents\Visual Studio 2008\Projects\StackPanelTest\S
-
- WCF config problems
by Bex
- 4 Replies
- Last post
by Bex
- I built a service and a client on the same machine and they worked fine then I tried it on my machine talking to my service on my virtual machine and it wouldn't work, just timed out. I then found that I had to change the security settings and as I am implementing my own security using symmetric/asymmetric encryption and signing of data I don't need to use built in security. I also want my service
-
- How to relay dependency properties within an usercontrol
by RalfJuergensen
- 1 Replies
- Last post
by Bragi
- Hi, suppose I have a usercontrol that contains a combobox "myCombobox". The items are set through "ItemsSource" property. Now I want to have the possibility to set the "SelectedItem" property throught the usercontrols property "MySelectedItem". So in xaml I want to do something like:
Code Block
<MyUserControl MySelectedItem="{Binding P
-
- How to implement In-Place Editing on a TreeViewItem?
by Jeremy Chaney
- 14 Replies
- Last post
by Jeremy Chaney
- Has anyone done this It doesn't look like the framework automatically supports it. How much work is involed I could just throw a dialog box, but In-Place would be much better.