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

Listview canvas panel

Hi. I am looking into creating a list view that would allow similar behavior with Windows desktop. What i need is ability to have a an item selection functionality and allow custom positioning of the...

View Article


how can I play a video that is encoding yet with WPF?

I'm encoding an FLV video, and I want to show the result on my WPF application while the video is still encoding.I use MediaElement, but it only plays to the total time that the video has when I open...

View Article


Select all checkbox in wpf datagrid

Hi everyoneI have a problem. I have a datagrid and in it I needed to add a checkbox column with a deselect all checkbox on top that is bound to a property in my class object that is of type int and can...

View Article

Any news on WPF 5?

Can you share some information on WPF 5? When we should expect a new CTP?Dany

View Article

Threading and WPF - how does it work?

Can anyone explain or give a pointer to an explanation of the threading in C# / WPF?Especially I'd like to have a non-object oriented explanation about background worker.That is: I'd like to have an...

View Article


Image may be NSFW.
Clik here to view.

Floating controls

This is just to illustrate the point, it is not Android related. What approach would you take to make several floating controls that would be absolute positioned and floating above everything else? I...

View Article

Image may be NSFW.
Clik here to view.

How to effectively create this kind of control

The shape of the control always will be a rectangle.The user must be able to click on it (like a button).What is different about this control it's the way it is rendered. For example, the control could...

View Article

Switching to full screen in tab control loses all functionality

The WPF application we're developing starts out in WindowState="Normal"We have several TabControls, each having 3 or 4 TabItems. Everything works great UNTIL you hit the Maximize button to go to full...

View Article


New WPF WebBrowser - How do I suppress script errors?

There is no ScriptErrorsSuppressed property, so how do I suppress them?It's extremely annoying that this control doesn't have this feature!

View Article


How to set selection color using code

Hello, group,how can i set systemcolors using C# code. Something like:<SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}" Color="Red" />

View Article

ClickOnce Security Zone Local Intranet

This is a basic question as I try to learn about security. I am using VS 2012 on Windows 8, C# WPF.On the project's property page / security tab / ClickOnce / Partial Trust,  I have been successful in...

View Article

Binding an Enum Property to a ComboBox

I have the folloing code:Imports System.ComponentModel Class MainWindow Dim ClassWithEnumProperty As New EnumPropertyTest Public Sub New() ' This call is required by the designer. InitializeComponent()...

View Article

How to add items to an already bound DataGridComboxBoxColumn

Hi everyone, I have a datagrid with a DataGridComboxBoxColumn and which is bound to an ObservableCollection<UnitModel>. Now I used a styleto make the combobox column editable:<Style...

View Article


touch input and mouse in wpf

Hi GuysI have a problem with my app on my surface proI have 5 buttons on my main window1 of the buttons opens the OpenFileDialog windwo so I can select a picture from my picture directory then updates...

View Article

Difference between wpftoolkit and presentation framework data grid

Hi,Consider the following implementation.Initially No rows in datagrid and user enters a row in data grid which have three columns Country, State and Districts. After inserting a new row Countries...

View Article


Image may be NSFW.
Clik here to view.

XBAP application download error

I met a problem When I accessed my XBAP application which was deployed in our Windows Server 2012 web server: The total size of the application is around 33Mb. As we all know, the XBAP application will...

View Article

Is it possible to display a datacollection manually inside a listviews gridview?

Hey,Naturally i ever bind an ObervableCollection as ItemsSource to a listview, but in my Scenario i Need a method to Display a abritary number of objects (it depends on how many Tabs are dynamicly...

View Article


Image may be NSFW.
Clik here to view.

Challenging LinearGradientBrush Control

Atleast for me it is challenging...I want to connect the two sections with arcs and fill them similarly....How to do it in WPF??XAML:<Grid...

View Article

WPF TreeView

I created a treenode like the below code. These nodes are propertypath of Object called Message Element. Message Element has (int Id, string propertypath, Transaction transaction)Here is the code to...

View Article

Set the stringformat of a datetime object in code behind.

I have the following code I worked on as an example of creating a binding dynamically for a GridView based on the object(s) that populate the ItemsSource. Private Sub SetUpTheColumns(firstObject As...

View Article
Browsing all 18858 articles
Browse latest View live


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