Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Browsing all 18858 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

How let child over flow its parent?

<StackPanel Height="200" Width="200" HorizontalAlignment="Left" Background="Green" Panel.ZIndex="1" Canvas.Left="-50" Clip=""><StackPanel Height="50" Width="180" Background="Red"...

View Article


How to bind the data of XMLDataProvider to listbox dynamically in WPF?

Hi,    I have created WPF application to populate RSS feed details. I did XMLDataProvider data retrieving in code behind. I would like display data of XMLDataProvider  in listbox in codebehind, Kindly...

View Article


Handle Double Click

I am currently listening to void OnMouseLeftButtonDown(MouseButtonEventArgs e). I want to handle clicks and double clicks in there. I wish to execute a custom logic lets called it logic1 per click and...

View Article

DataBinding at runtime

I would like to create a below text box at runtime and do a databinding as in the XAML. Can you please let me know how can i do it in the code?<TextBox Height="23" HorizontalAlignment="Left"...

View Article

How to add video in c# windows forms application ?

I want to know , how can i add video (any format) to my windows forms application ! and it should be built-in likewise it should be played into another computer also ! like it it in the resources ! i...

View Article


how to restrict panning to go beyond my window after zooming???????

Hi everybody,                 i implemented Pan and Zoom using WPF.It is pretty fine.                 the one issue is when i panning image, it will pan beyond visibility of window after i zooming the...

View Article

RenderTargetBitmap.render gives Insufficient memory exception

Hi,I am going to convert chart control into image and save that image on local disk, to convert image I used RenderTargetBitmap and DispatcherTimerBut RenderTargetBitmap.render gives exception as...

View Article

I am getting insufficient memory exception when i am trying to render a...

dc.PushTransform(newTranslateTransform(difX + left - horizontalScale, difY + top - verticalScale)); dc.PushTransform(newScaleTransform(1,1));// Ask canvas to draw overlays drawingCanvas.Draw(dc);//...

View Article


Navigation-Runtime added Control in page

I have added controls  at run time in a page. But they disappear when i navigate to another page and navigate back to the same page where i added controls at runtime. Can u let me know how can i fix...

View Article


Referencing an Selector items panel

I have this,static MySelector(){DefaultStyleKeyProperty.OverrideMetadata(typeof(MySelector), new FrameworkPropertyMetadata(typeof(MySelector)));}with a Generic Template as,<Style TargetType="{x:Type...

View Article

WPF Timeline Tool

Is the new WPF Timeline Tool for performance diagnostics already included in Visual Studio 2015 Preview as of November 2014? I've read about it in the announcement but can't seem to find it in the...

View Article

Custom Progress bar indicator with visibility not working properly

Hi,I have on time taking process after clicking the login button.So during that time , i want to display the usercontrol which has the simple progress (with marquez) effect with text loading.!!.And...

View Article

Vb.net Form1 will not load.

The form loaded the first time I did a  project in WPF. The second project I did the form would not load. I repaired VS 2013 and still would not load. The code is there but form window will not appear....

View Article


Image may be NSFW.
Clik here to view.

Spellcheck window color settings when custom styles in Application.xaml is used

Hi there. I am developing a WPF application in VB.net. I have created custom styles which are a  mostly a black/grey monochrome theme. The background is black and control foregrounds are mostly gray in...

View Article

(MVVM) Accessing parent window DataContext

In my WPF MVVM light-based app, I have a MainViewModel binded to the main window. In this window I have a usercontrol with its own ChildViewModel. How can I access a MainViewModel property from a...

View Article


wpf and graphics speed.

I am using a graphics intensive program in wpf and C#Some of the screens can have a lot of graphics and this can become slow even on a top of the range PC.Is there any way to speed the graphics up ?I...

View Article

VS2013 WPF Descktop application get exception using publish folder items

Hello, I have created a WPF desktop application using VS2013 Express. My setup targets .net 3.0 any CPU. I build both debug and release and get no warnings, no errors, and successful build. if I take...

View Article


I have a problem in designing WPF DataGrid behind xaml.cs file. Please help me

con = c1.connect_to_db();                con.Open();                cmd = new SqlCommand(sql, con);                                //SqlDataAdapter sda = new SqlDataAdapter(cmd);...

View Article

Landscape documents in DocumentViewer

Hi.  I have a Windows Form application in VB 2013 with a Document Viewer control which I am using to display XPS documents. Most of the documents I want to display here are reports from a legacy system...

View Article

Image may be NSFW.
Clik here to view.

WPF MVVM entity framework (model)

Hello EveryoneI trying to redo my project to follow the MVVM pattern. For that reason i have started a new project.So far i have added ADO.Net entity data model, meaning the entity framework has been...

View Article
Browsing all 18858 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>