wpf-controls

How can I make a grid of clickable images from a list of data in WPF?

Hello, I am a seasoned C and Java programmer, but an absolute WPF newbie. I am creating a kiosk application that will display a list of images of products that the user will click to see product details and maybe place an order. I am trying to structure my app with MVVM Foundation because I am used to the benefits of structure and test...

In a combobox, how do I determine the highlighted item (not selected item)?

First, fair warning: I am a complete newbie with C# and WPF. I have a combobox (editable, searchable) and I would like to be able to intercept the Delete key and remove the currently highlighted item from the list. The behavior I'm looking for is like that of MS Outlook when entering in email addresses. When you give a few characters, a...

Need to replace 3rd party WinForm controls, what's the closet WPF equivalent?

I am tired of Windows Forms...I just am. I am not trying to start a debate on it I am just bored with it. Unfortunately we have become dependent on 4 controls in DevExpress XtraEditors. I have had nothing but difficulties with them and I want to move on. What I need now is what the closet replacement would be for the 4 controls I am ...

How to get the Grid.Row Grid.Column from the selected added control?

How to get the Grid.Row Grid.Column from the added control? Basically I have 16 grids with 4 rows and 4 columns, each grid is added a round button. how to determine which rows and columns the selected round buttons are located respectively in the below MouseEventHandler of mouseover? For mouseclick, there is only round button selected...

How to get the Row and Column count of a grid in C#?

How to get the Row and Column counts of grid in C#, just regular window control grid, not datagrid or gridview Thanks ...

How to get the row and column of button clicked, in the grid event handler?

Once the added button in grid(window control Grid, not Gridview or datagrid) is clicked, how to find which row and column the button is located in the grid event handler, like click event or some other events? Not the button click event handler #region Grid event handler setup myGrid.MouseEnter += new MouseEventHandler(m...

How to set the location of a WPF window?

I have a List View in which I have defined a custom cell as a user control. In the custom cell I given user hyperlink, I am showing a WPF dialog when user clicks on a hyperlink. I want WPF dialog comes just above the hyperlink.. Please let me know how can I acheive this or how to set the location of the dialog so that it just comes ab...

Saving an Image from WPF's WebBrowser control - how do you do it??

Hi, everyone. There's probably a simple solution to this but I can't seem to find one. I'm playing around with the WebBrowser control in WPF that ships with Visual Studio 2010 and am trying to save an image that might appear on a webpage to disk programmatically. Many thanks in advance! Luck ...

QuickAccessToolBar RibbonGroup ResourceDictionary

Hello! Who knows how write xaml-file. In this file I'd like describe list Buttons that will use in QuickAccessToolBar and RibbonGroup. <!--First file--> <r:RibbonTab> <r:RibbonTab.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <...

WPF: Custom control in DataGridTemplateColumn using a binding property

I have a datagrid who's DataContext is bound to a list of a custom class. I want to add a DataGridTemplateColumn and bind a property in the custom column to the property in the custom class that represents that column. 'Minutes' is an int property in my custom class. And MinuteSlider is a custom UserControl that consist of a slider and ...

how to get the control added at the specified row and column in window control Grid?

how to get the control added at the specified row and column in window control Grid(not gridview or datagrid)? in C# Suppose we know which row and column the control is located, how to get the control by grid row and column? Thanks ...

StackPanel location changes at runtime

I have a ToolBar WPF control which has a Stackpanel docked to right. I use this toolbar control in 3 other WPF controls by adding in the XAML. When I verify in the XAML the Stackpanel location is same for all 3 controls. But when I run my application, for one of the 3 controls, the StackPanel in the ToolBar control shifts to left. <S...

Date Picker Today Option In WPF

Is there any property , option available in the date picker control so that if user want to select today from any date from current date ? e.g if user is view current month of last year then he has the option to select current date ? ...

Animation on TabItem creation ?

Hi, Is it possible to animate a TabItem when it's created ? I would like to create an animation which will slide the TabItem from the bottom of my window to the TabControl itself and add some fade in effect too :) ...

list box items context menu WPF

hey guys, I have list box that contains UserControl as item template the user control contains few text blocks in a grid, the thing is that I want to add context menu to my user control that will show on the list item right click but currently only right clicking the textbox inside the user control triggers the context menu appearan...

How to limit the rows and columns of ShowGridLines in WPF Grid?

How to limit the rows and columns of ShowGridLines in WPF Grid? By default, ShowGridLines will be applied to all rows and columns, is there any way to set the rows and columns that ShowGridLines is effective? Thanks ...

Does WPF use native Windows contols?

Does it perform drawing by itself, or uses the native UI components provided by Windows in any way? ...

Free Calendar/Schedular Control in WPF

Is there any free WPF calendar/Schedular /appointment control available , I have searched on google but couldn't find one. ...

WPF Login Screen

I have search on google about the login screens which are design in WPF , as I have to using one of the best login screen for my application, Is the any good login screen avaialble so that I can see them and choose one of them, I am having no idean about the good design of the login screen. Please help me, thanks in advance ...

Search and Highlight search text in items in the Listview in WPF

Hi, I am using MVVM to show the database records in a gridview (ListView view). i have a textbox where we can enter the text to be searched in the results listed in the gridview. i tried many ways to highlight the search text (Not the entire row only the text matches in the record) in the records displayed in the list view but unable to...