Skip to content

Instantly share code, notes, and snippets.

Stefan Eriksson McTopaz

Block or report user

Report or block McTopaz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@McTopaz
McTopaz / MainWindow.xaml
Created Oct 8, 2019
DataGridView with DataGridTemplateColumns - Cannot create new rows
View MainWindow.xaml
<Window x:Class="WpfApp1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:WpfApp1"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Window.DataContext>
@McTopaz
McTopaz / Controller
Created Oct 3, 2019
Struktur av MVVM
View Controller
namespace My_WPF_Project
{
public class Controller
{
vmHeader Vm { get; set; }
public Controller(vmHeader vm)
{
Vm = vm;
@McTopaz
McTopaz / FodyWeaver.xml
Created Mar 15, 2018
Bind the selected string in a TextBlock inside a ListView inside a cell of a DataGrid to a ViewModel
View FodyWeaver.xml
<?xml version="1.0" encoding="utf-8" ?>
<Weavers>
<PropertyChanged />
</Weavers>
You can’t perform that action at this time.