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

Image may be NSFW.
Clik here to view.

How to implement a control that can contain a large number of tabs (like Excel)?

Our application is almost ready, but is has a serious shortcoming. Its interface is based on a DataGrid, with some features borrowed from Excel. The feature that I don't know how to implement is the...

View Article


List: Limit number of items in advance

Hello,I want to set a list that it can hold up to 1000 items (for example).All items will be pre-allocated before actually adding them to the list.Upon adding item number 1001, item 1 will be dropped...

View Article


When to use Independent / Clock mode of MediaElement

I have read MediaElement remarks about 2 modes available to use MediaElement.What could be the possible scenarios for either mode ? Anjum S Khan Admin/Analyst Blog.TrackNifty.com

View Article

Adding Buttons to a Canvas in a Grid Format

It seems a canvas is ideal for this... if I want to continually add buttons to a grid-type display and have them stored somewhere where they can be saved, then a canvas is the best option?What I don't...

View Article

Installed font missing from WPF designer font family

Hi - I'm working in Visual Studio 2012 on a WPF application. We have 5 fonts we hope to use: 4 work fine, but one ("NeueHelveticaPro-49CmLight.ttf") doesn't appear as a selection for the font family in...

View Article


WPF Entity Framework - Validation

I seem to be getting a validation error with my Entity, but this is causing an exception instead of simply not allowing the SaveChanges Method to execute like it should do.This is the Exception...

View Article

How to resolve the Method binding issue with that of delegate type?

I am trying to create my own ContextMenuOpening event (Event ContextMenuOpening name should be same as FrameworkElement class) when I tried to trigger that event from Xaml page its throwing “Cannot...

View Article

Clipboard is clearing image data once my application Closed

Hi,   I am using some mechanism to copy image as Bmp to the clipboard and i want to reuse the same image for different application. My problem is image data is getting cleared once i go for...

View Article


[WPF] How to edit a copy of style in Blend?

I have Rectangle in Grid.I set properties of Rectangle.How can I create a style of Rectangle while saving its properties that I already set?Blend version: Blend for Visual Studio 2015.

View Article


Basics to get started with a flyout application

Good morning,At this point I'm not sure if WPF is the correct/most suitable technology for my request or not so here goes...I'm hoping somebody can point me in the direction of any information related...

View Article

IDataErrorInfo

Hi to all, I found the following little neat sample and am trying to figure out how it works.  In particular, I'm having problems with understanding these few lines:<Border Background="Red"...

View Article

Image may be NSFW.
Clik here to view.

Create Dyamic Icons in WPF Listbox Control

Hello. I am trying to create a listbox with icons in the first column. These icons have already been defined as resources contained in a resource dictionary. When I do this manually it shows an icon...

View Article

How to set binding in DataTemplate without knowing property name? DataGrid,...

I have a DataTable property in my viewModel:public class MainViewModel() { public MainViewModel() { PopulateDataTable(); } private DataTable employeeDataTable; public DataTable EmployeeDataTable { get...

View Article


No color syntax in XAML text editor in Visual Studio 2015

There is no color syntax in VS2015 Community Edition. I tried to fix it in different ways including Repair VS2015 twice, Re installing, Resetting user data and executing the exe file in a FAQ. 

View Article

Prevent User Clicking UI When Using Async/Wait

I have a Task that returns an ObservableCollection of Companies. I display a small Window that simply says "Please wait.." whilst this Task is performed. The problem is, the user can still interact...

View Article


Update Combobox Width at runtime in a MFC application.

Hi,I want to update the size of combobox at runtime so that it can show the widest string in that in an MFC application.can anyone please help me with thisThanks in advance.

View Article

How Are SplashScreen(FileName) loaded ?

Created a resource called Rig.png and it  shows in resources folder in project.In Appl.Xaml.cs it is referenced as Splasher.SplashScreen = new SplashScreen("Rig.png");If the Build Action properties...

View Article


Image may be NSFW.
Clik here to view.

WPF Panel with next and Previous

Hello pp lwould like to know if we can do a panel like this in WPF. Where I sent a list item for the usercontrol, and after that the control showed items that were possible, and if more it shows the...

View Article

wpf datagrid exit cel editing mode when validation error

I have a datagrid with validatesOndataerror on column enabled I want to enable the changes of all row even if there is an error on one row.I know that the dataGrid will not exit cell editing mode until...

View Article

Learning WPF MVVM + Prism for beginner

Hi. I'm a web developer with some 16 years experience working with Microsoft technologies. My latest project requires a WPF app with multiple views, a SQL Server database, and AD authentication. I'm...

View Article
Browsing all 18858 articles
Browse latest View live


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