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 Articlewpf 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 Articleobject 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 ArticleDisplaying 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 ArticleWPF 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 ArticleWPF 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 ArticleTextBlock - 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 ArticleHyperlinks 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 ArticlePositioning 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 ArticleDrawingBrush 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 ArticleWPF 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 ArticleFormatting 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 ArticleDirectx 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 ArticleError 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 ArticleHow 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 ArticleHow 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 ArticleText 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 ArticleHello I want to create a tree menu that receives information from the...
http://uupload.ir/files/267g_232.jpg
View Articlefrozen/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