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

DataTable problems...

I know y'all are probably going to start fussin' that this question doesn't belong here, but I'm not exactly sure where to put it.... Not sure exactly what I'm asking to be quite honest. :)I have a wpf...

View Article


Datagrid - Scroll to an item BUT have the item in the middle of the view.

I have a need to have a specific item in the MIDDLE of my datagrid.  The users need to be able to see both items above this item, and items below.  To be even more specific, I'd like the desired item...

View Article


Treeview images appear slightly blurry when displayed in the main application...

Hello,I have a UserControl that contains a TreeView defined like:<TreeView Name="treeViewGroupings" Grid.Row="2" Grid.Column="0" Width="335" Height="400"...

View Article

Listboxitem mouseover problem

Hi,I have Listboxitem template as below, in that template i have button which is not visible, this button i wanted to make visible on mouse over of Listboxitem, i could do that but the problem is the...

View Article

Creating a page layout using WPF. The application EmpireBanlPic.

 Hi guys, I'm new to WPF. I try to do one WPF exercise which is: 'Create a page layout using WPF (look at the application EmpireBanlPic)'. Could anyone please tell me what the application EmpireBanlPic...

View Article


PreviewMouseDown event not always firing

I have a border that is acting as a button, although within it there is a grid with textblocks in the cells of the grid. I am using the previewmousedown event to test to check the data of this border...

View Article

Image may be NSFW.
Clik here to view.

WPF listview control checkbox bug

hello, i have a problem.i developing c++ CLR wfp base program and using listview in detail mode + checkboxif i press <shift> and click another item in first column no problem, but in not first...

View Article

WPF OuterGlow Bitmap Effect

Hello Friends , I am not able to give my Border or any Textbox a OuterGlow BitmapEffect , if you have any solution please let me know soon, I am able to give all the effects like...

View Article


Max Grid Size WPF?

Hi,I 'm using a wpf object in a Windows forrm application.I add the wpf object to a Panel in Windows Form Application.The wpf object is a grid with a number of viewport3d object containing an image...

View Article


WPF datagrid remove the extra space and extra last column

Hi,we have a wpf datagrid where dynamically columns are generated,we are facing an issue while removing the extra space and extra last column in wpf datagrid column.we also tried setting 'Auto' for all...

View Article

Printing Scaled Framework Element to XPS

I have set up the following routine to print a scaled version of a FrameworkElement:public void PrintUI(FrameworkElement element) { PrintDialog printDialog = new PrintDialog(); printDialog.PrintQueue =...

View Article

Is there a way to see if a MediaElement is playing

I would like to perform a conditional that looks to see if a video is playing in my MediaElement.  Possible? Thanks

View Article

How to read the pasted text line by line in RichTextBox?

Hai all,I am using a RichTextbox to read its content line by line.Here is the code I used for that: Private Sub txt_TextChanged(ByVal sender As System.Object, ByVal e As...

View Article


The magic behind ThemeInfo

I am stuck with ThemeInfo attribute inside my AssemblyInfo.cs file. I am trying to write a custom control. The custom control is in a dll called "MyCustomControls.dll". Futhermore the control itself...

View Article

XBAP IE 9 issue

We have been successfully using XBAP in our application and using BrowserInteropHelper.HostScript to allow me to talk back to the javascript on the host page. I am running the XBAP in an iframe. It is...

View Article


Button command binding inside datagrid using elementname works but client...

Inside of a DataGridTemplateColumn inside of a DataGrid<Button Command="{Binding Path=DataContext.RunCommand, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}"/>works on Dev...

View Article

Expand/Close Expander control in parent UserControl or Window

Hi, using C# 2010 Express WPF form I have MainWindow with expander control and also calls EnvUsercontrol EnvUserControl itself has an Expander control and also calls JobUserControl Now, inside...

View Article


listbox bug in .net v4.0

I have set up a listbox to accept double click on items.The software accepts the double click and returns with the selectedindex of item double clicked on.However double clicking on the slider also...

View Article

KeyGesture bound to RoutedUICommand not working with Key.Left but working...

I have just started adding keyboard support for my application. It already had multiple commands implemented but they are all bound to controls, like menu items. Most UI elements in my application are...

View Article

Continue with Click after touch

Hi,I am trying to enable some simple touch gestures to my wpf-app. Since it is like looking through pages I want to catch short gestures, but ignore "clicks".Now just for testing I put this in the...

View Article
Browsing all 18858 articles
Browse latest View live


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