개정판 9380813b
Search Panel 방향키 수정
Text생성시 여러번 클릭 할 경우 입력값이 없으면 생성된 객체 삭제
Font Size에 한글입력 방지
Change-Id: I3b8e47c313869b6e03f0c634cb8ea340c189812d
KCOM/Events/Implementation/TopMenuEvent.cs | ||
---|---|---|
26 | 26 |
using Markus.Fonts; |
27 | 27 |
using System.Threading.Tasks; |
28 | 28 |
using System.Windows.Threading; |
29 |
using System.Text.RegularExpressions; |
|
29 | 30 |
|
30 | 31 |
namespace KCOM.Views |
31 | 32 |
{ |
... | ... | |
1356 | 1357 |
} |
1357 | 1358 |
} |
1358 | 1359 |
|
1360 |
private void comboFontSize_PreviewKeyDown(object sender, System.Windows.Input.KeyEventArgs e) |
|
1361 |
{ |
|
1362 |
if (e.Key == Key.Space || e.Key == Key.ImeProcessed) |
|
1363 |
{ |
|
1364 |
e.Handled = true; |
|
1365 |
} |
|
1366 |
} |
|
1367 |
|
|
1368 |
private void comboFontSize_PreviewTextInput(object sender, System.Windows.Input.TextCompositionEventArgs e) |
|
1369 |
{ |
|
1370 |
var regex = new Regex(@"[^a-zA-Z0-9\s]"); |
|
1371 |
if (regex.IsMatch(e.Text)) |
|
1372 |
{ |
|
1373 |
e.Handled = true; |
|
1374 |
} |
|
1375 |
} |
|
1376 |
|
|
1359 | 1377 |
private void comboFontSize_ValueChanged(object sender, RadRangeBaseValueChangedEventArgs e) |
1360 | 1378 |
{ |
1361 | 1379 |
if (string.IsNullOrEmpty(comboFontSize.Value.ToString())) |
내보내기 Unified diff