<TextBox x:Name="CommandInputText" Grid.Row="1" Grid.Column="1" 
	TextWrapping="Wrap" 
	Text="{Binding Path=CommandInputText, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
	Width="auto" Height="auto" TextAlignment="Left" 
	VerticalContentAlignment="Center" Background="LightGray"
	TextChanged="CommandInputText_TextChanged"/>

private string commandInputText;
public string CommandInputText
{
  get
  {
	return this.commandInputText;
  }
  set
  {
	this.commandInputText = value;
	this.NotifyOfPropertyChange("CommandInputText");
  }
}


Caliburn.Micro 사용


'Develop' 카테고리의 다른 글

Flutter Error 1  (0) 2019.08.04
PowerShell - 덤프파일 압축  (0) 2019.04.29
c# interface method 정의  (0) 2018.12.04
WPF Binding  (0) 2018.11.12
perforce ignore  (0) 2018.09.05

+ Recent posts