How to import vector graphic as xml in Visual Studio 2015 or 2017
I know I can import AI files in Visual Studio 2013, but I have 2015 CE and there is no import AI files anymore.Now I use Inkscape for convert files to xaml, but this is time consuming if I have lot of...
View ArticleDependency Property
Hi,i have used Dependency Property in my application but i unable to understand the significent of DP then normal .net property.can any one explain to me about dependency property,attach property in...
View ArticleWPF Application mimic Windows Desktop
Hello!!!I would like to develop the WPF Application which willmimic Windows Desktop (like Windows OS). It will be same as web-desktop (https://webdesktop.net/)App will have Desktop and TaskbarThe...
View ArticleButton background gradient origin from mouse coordinates
Hey everyone, I have a button that I created a radial gradient for and I would like to bind(?) the Gradient Origin property to the position of the mouse while it's inside the button. I think it would...
View ArticleException 'System.Windows.Markup.XamlParseException' occurred in...
Hi, I'm trying to get a program from a colleague compiling and working; however, I get this exception thrown immediately before it ever hits a line of code and I have not an idea on where to start...
View ArticleUndoLimit and MenuConText in RichTextBox WPF
I set UndoLimit =10 in Xaml. When i run my app:In Richtextbox, I input 10 times, if i use Ctrl+Z to undo. I can undo 10 times. if i open ContextMenu by rightClick, then i use Ctrl+Z to undo. I just...
View ArticleNested List in FlowDocument using C#
How should l create something like this using C#?<FlowDocument Background="GhostWhite"><List><ListItem><Paragraph>Oxygen</Paragraph><List Margin="0" Padding="0"...
View ArticleAdd background image to a button based on a boolean property
I need to use an image as the background on a button based on the status of a boolean property. The way I'm trying to do it is by having two different styles, Style1 and Style2 and use one depending on...
View ArticleWhat is Indices attribute in Glyphs tag in XPS document
The XPS specification says Glyphs tag is used for displaying the text, and it has a attribute called Indices which holds a encoded string. Is this tag mandatory?Does this string directly maps to the...
View ArticleHow is DataGrid IsSelected Limited to MouseLeftButtonUp
My custom DataGrid is working as needed except for "IsSelected" in Style.Triggers.I only have one event handler of MouseLeftButtonUp. Being a newbie, was surprised to see that a MouseRightButton also...
View ArticleHow to reuse the Style of parent user control on child/sub user control in...
Friends,I have a WPF user control/window which has a Style for textbox, and there is a another user control called inside the first user control ( parent ), I want to reuse the same style on the...
View ArticleWPF C# ICollectionView inaccurate grouping
Hi all, I would very much appreciate some help on this issue as I am completely stumped on what to do. The problem is that I am using grouped data, for clarity, lets call the groups stacks, like stacks...
View ArticleC# WPF Beginner Here
Hey guys!I got an exercise from my teacher which is: Write a program to draw a star. Let the user determine R, G and B values via text boxes so your program is able to draw the star in any color!I have...
View Articleavoiding bubble up event handler
How can I avoid bubble up routed event handler ? Can anybody please suggest me ? Mrutyunjaya
View ArticleRegistration to Microsoft TechNet Wiki competition for October 2018 is...
What is TechNet Guru Competition? Each month the TechNet Wiki council organizes a contest of the best articles posted that month. This is your chance tobe announced as MICROSOFT TECHNOLOGY GURU OF THE...
View ArticleVS code table localization interface
Hello, I am looking for some ResJ localization manager (for VS Code) which provides common interface for all languages (ResX manager or Zeta style for example). That means, that i am not interested in...
View ArticleWPF Apps stop responding to touches while mouse continues to work
WPF applications stop responding to the touchscreen (we are using simple button click events) after some period of time (not consistent) but WILL respond to mouse clicks and the non-WPF applications...
View ArticleDropShadowEffect is sometimes missing when dynamically adding many controls
foreach (DataRow dr in dt.Rows) { Rectangle rectangle_timeline = new Rectangle(); rectangle_timeline.Height = 19; rectangle_timeline.Cursor = Cursors.Hand; rectangle_timeline.Effect = new...
View ArticleAfter resize object (rectangle or grid), clip is not resized (help)
I have Grid which contain some graphics and all graphics are cliped with grid. The cliping object is inside grid, othervise I got black (or object colored) object.Imagine:Grid- rectangleClip-...
View ArticleWhat are the practicable steps to get a licence for two kinds of software,...
Hi,There is several discussions have supported the subject of a software license and the majority are limited to offer explanations or definitions (GNU GPL, EULA, BSD License ... etc) without...
View Article