Back

kaiDevUtl.Controls

This dll contains custom WPF controls. This dll may be implemented in kaiDevUtl.WPF in future.
public class AutoSelectTextBox
TextBox that automatically selects all its text.
public bool FocusOnVisible

DependencyProperty

TextBox sholuld get focus when it becoms Visible.
public class ComboBoxItemTemplateSelector
I think this class changes the data template for the selected item in a ComboBox.
public DataTemplate SelectedItemTemplate { get; set; }
DataTemplate for selected item.
public DataTemplate ItemTemplate { get; set; }
DataTemplate for all other items.
public override DataTemplate SelectTemplate(object item, DependencyObject container)
Returns DataTemplate for item.
public class EditableListBox
ListBox with editable items.
public bool EnableContentEditing

DependencyProperty

Enable editing of ListBox content.
public event ItemContentEditingHandler ItemContentEditingStarted

RoutedEvent (Bubble)

Event triggered when editing of one of the items start.
public event ItemContentEditingHandler ItemContentEditingEnded

RoutedEvent (Bubble)

Event triggered when editing of one of the items ends.
protected override DependencyObject GetContainerForItemOverride()
Ovveride this to change item container used for items.
public async void EditItem(object Item)
Start editing of a spesific item.
public void StopEdit()
Stop editing of currently editing item.
public class EditableListBoxItem
Item container for EditableListBox.
public bool IsContentEditing

DependencyProperty

Value is true when content is beeing edited.
public event MouseButtonEventHandler EditListBx_PreviewMouseDown

RoutedEvent (Bubble)

Event triggered on Preview Mouse Down.
public event RoutedEventHandler EditListBx_LostFocus

RoutedEvent (Bubble)

Event triggered when item lost focus.
public class StringObject
A string class that implements INotifyPropertyChanged.
public StringObject()
Empthy creator.
public StringObject(string Value)
Creator that initiates string value.
public string Value { get; set; }
Value of string object.