c# Programming Glossary: xaml
SelectedItem in a WPF Treeview http://stackoverflow.com/questions/1000040/selecteditem-in-a-wpf-treeview and in the codebehindfile of my xaml private void TreeView_OnSelectedItemChanged object sender RoutedPropertyChangedEventArgs..
Get MIME type from filename extension http://stackoverflow.com/questions/1029740/get-mime-type-from-filename-extension video x ms wvx .x application directx .xaf x world x vrml .xaml application xaml xml .xap application x silverlight app .xbap.. application directx .xaf x world x vrml .xaml application xaml xml .xap application x silverlight app .xbap application x ms..
Cannot find the memory leak http://stackoverflow.com/questions/13355496/cannot-find-the-memory-leak my gesture codes that could be the problem. This is the xaml Grid x Name LayoutRoot Background Transparent Grid.RowDefinitions..
Set focus on textbox in WPF from view model (C#) & wPF http://stackoverflow.com/questions/1356045/set-focus-on-textbox-in-wpf-from-view-model-c-wpf But the cursor is not getting set in the TextBox . The xaml is as under igEditors XamTextEditor KeyDown xamTextEditorAllowOnlyNumeric_KeyDown..
How does one animate a line on a canvas in C#? http://stackoverflow.com/questions/15469283/how-does-one-animate-a-line-on-a-canvas-in-c Line.Y2 Properties. See if this works for you. MainWindow.xaml Window x Class WpfApplication1.MainWindow xmlns http schemas.microsoft.com.. xmlns http schemas.microsoft.com winfx 2006 xaml presentation xmlns x http schemas.microsoft.com winfx 2006 xaml.. presentation xmlns x http schemas.microsoft.com winfx 2006 xaml Title MainWindow Height 350 Width 525 Canvas Name myCanvas Button..
How to add a Blend Behavior in a Style Setter http://stackoverflow.com/questions/1647815/how-to-add-a-blend-behavior-in-a-style-setter Behaviors does not have an accessible setter. c# wpf xaml expression blend share improve this question I had the same..
Implementing a log viewer with WPF http://stackoverflow.com/questions/16743804/implementing-a-log-viewer-with-wpf xmlns http schemas.microsoft.com winfx 2006 xaml presentation xmlns x http schemas.microsoft.com winfx 2006 xaml.. presentation xmlns x http schemas.microsoft.com winfx 2006 xaml xmlns local clr namespace MiscSamples Title LogViewer Height..
WPF WebBrowser Control - position:fixed Element jumps while scrolling (Windows 8) http://stackoverflow.com/questions/17209626/wpf-webbrowser-control-positionfixed-element-jumps-while-scrolling-windows-8 xmlns http schemas.microsoft.com winfx 2006 xaml presentation xmlns x http schemas.microsoft.com winfx 2006 xaml.. presentation xmlns x http schemas.microsoft.com winfx 2006 xaml Title MainWindow Height 350 Width 525 Grid WebBrowser HorizontalAlignment..
databind the Source property of the WebBrowser in WPF http://stackoverflow.com/questions/263551/databind-the-source-property-of-the-webbrowser-in-wpf Path WebAddress StackPanel StackPanel DataTemplate c# wpf xaml data binding web browser share improve this question The.. String.IsNullOrEmpty uri new Uri uri null Then in your xaml do WebBrowser ns WebBrowserUtility.BindableSource Binding WebAddress..
Good or bad practice for Dialogs in wpf with MVVM? http://stackoverflow.com/questions/3801681/good-or-bad-practice-for-dialogs-in-wpf-with-mvvm WindowDialog xmlns http schemas.microsoft.com winfx 2006 xaml presentation Title WindowDialog WindowStyle SingleBorderWindow.. I have to create a DataTemplate in my resource file app.xaml or something DataTemplate DataType x Type DialogViewModel EditOrNewAuswahlItemVM..
How to programatically set selected Panorama item in WP7 http://stackoverflow.com/questions/4622214/how-to-programatically-set-selected-panorama-item-in-wp7 user leaves the app to compose an email c# silverlight xaml windows phone 7 share improve this question I'm not sure..
OneWayToSource Binding seems broken in .NET 4.0 http://stackoverflow.com/questions/4875751/onewaytosource-binding-seems-broken-in-net-4-0 that we can hope to get fixed in a future release c# wpf xaml binding share improve this question Karl Shifflett's blog..
Binding WPF ComboBox to a Custom List http://stackoverflow.com/questions/561166/binding-wpf-combobox-to-a-custom-list of ConnectionViewModels. In the MainWindowView.xaml file code behind I set the DataContext to the MainWindowViewModel... DataContext to the MainWindowViewModel. The MainWindowView.xaml has an ItemsControl bound to the collection of ConnectionViewModels... PhoneBookEntry property is set correctly. Here is my xaml Window x Class WpfApplication6.Window1 xmlns http schemas.microsoft.com..
Pan & Zoom Image http://stackoverflow.com/questions/741956/pan-zoom-image Or ImageBrush Do I need ScrollViewer Thanks c# wpf xaml zoom pan share improve this question The way I solved this..
SelectedItem in a WPF Treeview http://stackoverflow.com/questions/1000040/selecteditem-in-a-wpf-treeview that is selected in a WPF treeview I want to do this in XAML because I want to bind it. You might think that it is SelectedItem..
Data Binding in WPF User Controls http://stackoverflow.com/questions/11226843/data-binding-in-wpf-user-controls protocol number variable changes. This is the User control XAML UserControl Name MainOptionsPanel x Class ExperienceMainControls.MainControls.. usercontrol on the final window the data binding breaks. XAML Window x Class UserControlTesting.Window1 xmlns http schemas.microsoft.com..
Set focus on textbox in WPF from view model (C#) & wPF http://stackoverflow.com/questions/1356045/set-focus-on-textbox-in-wpf-from-view-model-c-wpf Don't care about false values. Now in your View in XAML you can bind this property to your ViewModel TextBox local FocusExtension.IsFocused..
Transitioning from Windows Forms to WPF http://stackoverflow.com/questions/15681352/transitioning-from-windows-forms-to-wpf a deprecated technology. I have tried to learn WPF and XAML but I get stuck right at WPF's new designer...It really seems.. and ViewModels And personally I prefer to type all my XAML out by hand since it's faster and doesn't make as much of a..
How to add a Blend Behavior in a Style Setter http://stackoverflow.com/questions/1647815/how-to-add-a-blend-behavior-in-a-style-setter associated objects. When you define your behavior inline XAML enforces this one to one relationship. However when you try.. have setters and so they can only be added to with in line XAML. This problem we solve with our own attached properties that.. style target. This we solve by utilizing a little used XAML feature x Shared False which creates a new copy of the resource..
WPF WebBrowser Control - position:fixed Element jumps while scrolling (Windows 8) http://stackoverflow.com/questions/17209626/wpf-webbrowser-control-positionfixed-element-jumps-while-scrolling-windows-8 Windows 8 Microsoft .NET Framework Version 4.5 Client XAML Window x Class EmbeddedBrowserTest.MainWindow xmlns http schemas.microsoft.com..
WPF image resources http://stackoverflow.com/questions/347614/wpf-image-resources resources. Is that the right way to go How do I specify in XAML that an Image control should load the image from an embedded..
WPF MVVM Newbie - how should the ViewModel close the form? http://stackoverflow.com/questions/501886/wpf-mvvm-newbie-how-should-the-viewmodel-close-the-form Username and Password which are bound to the view in the XAML using normal data bindings. It also has a Login command which..
Comparing object properties in c# http://stackoverflow.com/questions/506096/comparing-object-properties-in-c-sharp
Binding WPF ComboBox to a Custom List http://stackoverflow.com/questions/561166/binding-wpf-combobox-to-a-custom-list in the constructor from a business object. The ComboBox XAML looks something like this ComboBox ItemsSource Binding Path.. ... public CollectionView Connections get set The XAML code behind public partial class Window1 public Window1 InitializeComponent.. DataContext new MainWindowViewModel Then XAML DataTemplate x Key listTemplate Grid ComboBox ItemsSource Binding..
How to create a WPF UserControl with NAMED content http://stackoverflow.com/questions/751325/how-to-create-a-wpf-usercontrol-with-named-content improve this question It seems this is not possible when XAML is used. Custom controls seem to be a overkill when I actually.. JD's solution to allow controls to still be defined in XAML could be as follows protected override void OnInitialized EventArgs.. Content Content var userControl new UserControlDefinedInXAML userControl.aStackPanel.Children.Add content grid.Children.Add..
Is it possible to bind a Canvas's Children property in XAML? http://stackoverflow.com/questions/889825/is-it-possible-to-bind-a-canvass-children-property-in-xaml it possible to bind a Canvas's Children property in XAML I'm a little surprised that it is not possible to set up a.. possible to set up a binding for Canvas.Children through XAML. I've had to resort to a code behind approach that looks something.. element I'd much rather just set up a binding in XAML like this Canvas x Name designerCanvas Children Binding Document.Items..
What are the pros and cons of writing C#/Xaml vs. C++/Xaml WinRT applications in Windows8? [closed] http://stackoverflow.com/questions/10031929/what-are-the-pros-and-cons-of-writing-c-xaml-vs-c-xaml-winrt-applications-in are the pros and cons of writing C# Xaml vs. C Xaml WinRT applications in Windows8 closed I'd like to.. are the pros and cons of writing C# Xaml vs. C Xaml WinRT applications in Windows8 closed I'd like to go down the.. is a real time WPF Chart which uses a mixture of WPF Xaml and bitmap rendering to achieve high performance. I'd like the..
Passing on variables from ViewModel to another View (MVVMCross) http://stackoverflow.com/questions/10192505/passing-on-variables-from-viewmodel-to-another-view-mvvmcross at present this is due to serialisation requirements for Xaml Urls and for Android Intents. If you want to experiment with..
Implementing a scripting language in C# http://stackoverflow.com/questions/1394180/implementing-a-scripting-language-in-c-sharp the things we're considering is to create some sort of sub Xaml XSD to let the create their GUI using markup dunno if it'll..
Give some command to View in MVVM http://stackoverflow.com/questions/15465161/give-some-command-to-view-in-mvvm knowing anything about the View. Gotta love behaviors... Xaml UserControl x Class WpfApplication1.OpenCloseWindowDemo xmlns..
Proper DataGrid search from TextBox in WPF using MVVM http://stackoverflow.com/questions/15467553/proper-datagrid-search-from-textbox-in-wpf-using-mvvm System.Globalization.CultureInfo culture return null Xaml Window x Class WpfApplication17.MainWindow xmlns http schemas.microsoft.com..
Binding image in Isolated Storage http://stackoverflow.com/questions/4114153/binding-image-in-isolated-storage images folder that looks like this when run Sample Xaml file UserControl x Class SilverlightApplication1.IsoImages xmlns..
Sql, Wpf, Xaml, C#, Binding data, Dynamic resource, accessing to non-static data, Obtaining a Reference to an Object http://stackoverflow.com/questions/4328660/sql-wpf-xaml-c-binding-data-dynamic-resource-accessing-to-non-static-data Wpf Xaml C# Binding data Dynamic resource accessing to non static data..
OneWayToSource Binding seems broken in .NET 4.0 http://stackoverflow.com/questions/4875751/onewaytosource-binding-seems-broken-in-net-4-0 seems broken in .NET 4.0 I have this simple piece of Xaml StackPanel TextBox Text Binding TextProperty Mode OneWayToSource..
Changing the View for a ViewModel http://stackoverflow.com/questions/5309099/changing-the-view-for-a-viewmodel ItemViewType.View2 return View2Template return null Xaml code Window.Resources DataTemplate x Key view1Template TextBlock..
How to sort TreeView items using SortDescriptions in Xaml? http://stackoverflow.com/questions/5722835/how-to-sort-treeview-items-using-sortdescriptions-in-xaml to sort TreeView items using SortDescriptions in Xaml I have a list of Layers binded to a TreeView where each instance..
How to hide wpf datagrid columns depending on a property http://stackoverflow.com/questions/6857780/how-to-hide-wpf-datagrid-columns-depending-on-a-property on a property I have the following WPF sample program Xaml Window x Class AncestorArie.MainWindow xmlns http schemas.microsoft.com..
Having HierarchicalDataTemplates in a TreeView http://stackoverflow.com/questions/719609/having-hierarchicaldatatemplates-in-a-treeview set public ICollection Track Tracks get return _children Xaml TreeView x Name _treeView TreeView.Resources HierarchicalDataTemplate..
|