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

Child Window Splash Screen Close

I want to be able to do the following in MVVM:App Startup Opens the MainWindow which in turn opens a child modal window. The child Window will load some setting and setup database connections and...

View Article


wpf listbox binding XElement not updated on add XElement

Hello,I am a beginner in C# / xaml and I do not understand everything in the binding, among others if it is necessary to notify or not to refresh the view. In my code I use XML and XElement to store...

View Article


object does not contain a defination for Show and no extension method Show...

Hi guys. It is my first c# program where I'm trying to build a login app. I am facing the following error on Show, Add and UserName. e.g on the line "MessageBox.Show("Invalid UserName"); How do I...

View Article

Displaying font styles in localized name

Hi,I have a requirement to show Font Styles for the selected Font Family in localized name.Font Family is in one combo Box and Font styles are in another combo box.I have tried by using...

View Article

[WPF][C#] Window not maximized when running on Administrator?

I have WPF application with a child window (Test) and it should be run on Administrator mode. So run your Visual Studio as administrator. And the child window will be triggered using the below...

View Article


WPF Grid previous/old Tool tips issue

Hi, We are facing issue with WPF grid tooltips. when we are performing sorting and filtering on the grid then it displays old row tooltips instead off current rows. after did lots of googling not found...

View Article

WPF Validation

Hi I encountering an issue with WPF and Validation We are using Entity Framework and have an abstract entity c_Core this core is used for a common fields across numerous clients. This is the base...

View Article

TextBlock - inlines & datagrid

What is the correct way to add inlines to a TextBlock using code?Scenario:1) we have behavior that adds inlines to highlight text that match search criteria. 2) data grids with columns containing...

View Article


Hyperlinks from DocumentPaginator.GetPage() override in WPF not working

I'm wondering whether the issue related to hyperlinks not working in XPS documents created from flow documents (raised in the WPF Forum in 2009) has ever been solved. Almost 10 years later I still...

View Article


Positioning Child Window

I have a wpf application.When I am trying to launch a child window from main application and want to launch it into right corner of the main application. How can i do that ? -Mrutyunjaya

View Article

Image may be NSFW.
Clik here to view.

DrawingBrush in WPF gives ugly results

I am working with WPF, and some reason XAML is not working properly if there is Matrix transform.I took same data with 2 different applications (SVG and Win2D), and result were identical, but with WPF,...

View Article

WPF fix released in May 2018 Preview Quality Rollup

Hi,There was fix for WPF (bug 555225) in May 2018 Preview Of Quality Rollup for Windows 10.Was this fix released in future update? I don't want to install the preview. I don;t see it listed in June...

View Article

Formatting DataGrid Headers

I've done research for a few hours on this. All the people posting about it say just add this line and it'll behave as expected and only change what you want changed (In my case background color) Well...

View Article


Directx 9: getting image size depending on resolution?

I am using DirectX9 in my PC. it seems that the image size depends on Directx 9 resolution.but how can i calculate it?i get the image size from original image file. but the resolution window\Directx is...

View Article

Error Running UWP Project (UniversalWindows)

Hi, I am making a crossplatform xamirin forms application that should run on android and pc windows. But when compiling the UWP version I am getting the exession" Can not resolve Assembly or Windows...

View Article


How to create a IList Dep property in DataGridTextColumn custom control and bind

HaiI want create a Dependency property of IList in my custom control of datagrid .My code is public class DataGridListBoxColumn : DataGridTextColumn { public IList<Student> ListItems { get {...

View Article

How to access stack panel name under treeview in WPF

  <TreeView  BorderThickness="0" Name="ItemList" Margin="0,-148,0,-10" Height="Auto"  Cursor="Hand"  MouseDoubleClick="ItemList_MouseDoubleClick"   Grid.ColumnSpan="2">...

View Article


Text alignment within a ContentPresent (Datagrid)

Hi,I'm a beginner on Blend and I need help to format the textblock created when I bind datas to my datagrid.Indeed, the ContentPresenter in the cells is set on "stretch" (which is fine) but the content...

View Article

Hello I want to create a tree menu that receives information from the...

http://uupload.ir/files/267g_232.jpg

View Article

frozen/blocked UI with shared visual tree containing controls from different...

Hello, we have the following "architecture": We have one WPF based application, let's call it Host, as a generic host for other WPF based applications, lets call it App. The "App" WPF application is a...

View Article
Browsing all 18858 articles
Browse latest View live


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