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 ArticleDatagrid - 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 ArticleTreeview 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 ArticleListboxitem 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 ArticleCreating 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 ArticlePreviewMouseDown 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 ArticleWPF 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 ArticleWPF 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 ArticleMax 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 ArticleWPF 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 ArticlePrinting 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 ArticleIs 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 ArticleHow 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 ArticleThe 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 ArticleXBAP 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 ArticleButton 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 ArticleExpand/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 Articlelistbox 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 ArticleKeyGesture 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 ArticleContinue 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