1 //-----------------------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation. All rights reserved.
3 //-----------------------------------------------------------------------------
5 namespace System.Activities.Core.Presentation
9 delegate bool CaseKeyValidationCallbackDelegate(object obj, out string reason);
11 interface ICaseKeyBoxView
13 // Some view level functionalities required (i.e. cannot be done by data binding)
16 // Allow ViewModel to raise View events
17 void OnValueCommitted();
18 void OnEditCancelled();
20 // Pass public interface of this control to the ViewModel
21 bool DisplayHintText { get; }
22 object Value { get; set; }
23 Type ValueType { get; }
24 CaseKeyValidationCallbackDelegate CaseKeyValidationCallback { get; }