Commit 513e2adf by Giovanni Zucchelli

Importazione progetto

parents
using System;
using System.Linq;
using System.Windows.Input;
using System.Windows.Interactivity;
using System.Windows;
using System.Windows.Media.Animation;
using System.Windows.Threading;
namespace WpfKb.Behaviors
{
public class AutoHideBehavior : Behavior<UIElement>
{
public enum ClickAction
{
None,
Show,
AcceleratedHide,
}
public static readonly DependencyProperty ActionWhenClickedProperty = DependencyProperty.Register("ActionWhenClicked", typeof(ClickAction), typeof(AutoHideBehavior), new UIPropertyMetadata(ClickAction.Show));
public static readonly DependencyProperty AreAnimationsEnabledProperty = DependencyProperty.Register("AreAnimationsEnabled", typeof(bool), typeof(AutoHideBehavior), new UIPropertyMetadata(true));
public static readonly DependencyProperty HideDelayProperty = DependencyProperty.Register("HideDelay", typeof(double), typeof(AutoHideBehavior), new UIPropertyMetadata(5d));
public static readonly DependencyProperty HideDurationProperty = DependencyProperty.Register("HideDuration", typeof(double), typeof(AutoHideBehavior), new UIPropertyMetadata(0.5d));
public static readonly DependencyProperty IsAllowedToHideProperty = DependencyProperty.Register("IsAllowedToHide", typeof(bool), typeof(AutoHideBehavior), new UIPropertyMetadata(true, OnIsAllowedToHidePropertyChanged));
public static readonly DependencyProperty IsAllowedToShowProperty = DependencyProperty.Register("IsAllowedToShow", typeof(bool), typeof(AutoHideBehavior), new UIPropertyMetadata(true));
public static readonly DependencyProperty IsShownProperty = DependencyProperty.Register("IsShown", typeof(bool), typeof(AutoHideBehavior), new UIPropertyMetadata(true, OnIsShownPropertyChanged));
public static readonly DependencyProperty MaxOpacityProperty = DependencyProperty.Register("MaxOpacity", typeof(double), typeof(AutoHideBehavior), new UIPropertyMetadata(1d));
public static readonly DependencyProperty MinOpacityProperty = DependencyProperty.Register("MinOpacity", typeof(double), typeof(AutoHideBehavior), new UIPropertyMetadata(0d));
public static readonly DependencyProperty ShowDurationProperty = DependencyProperty.Register("ShowDuration", typeof(double), typeof(AutoHideBehavior), new UIPropertyMetadata(0d));
public static readonly DependencyProperty TimerIntervalProperty = DependencyProperty.Register("TimerInterval", typeof(double), typeof(AutoHideBehavior), new UIPropertyMetadata(0.3d));
private DispatcherTimer _timer;
private DateTime _lastActivityTime;
public ClickAction ActionWhenClicked
{
get { return (ClickAction)GetValue(ActionWhenClickedProperty); }
set { SetValue(ActionWhenClickedProperty, value); }
}
public bool AreAnimationsEnabled
{
get { return (bool)GetValue(AreAnimationsEnabledProperty); }
set { SetValue(AreAnimationsEnabledProperty, value); }
}
public double HideDelay
{
get { return (double)GetValue(HideDelayProperty); }
set { SetValue(HideDelayProperty, value); }
}
public double HideDuration
{
get { return (double)GetValue(HideDurationProperty); }
set { SetValue(HideDurationProperty, value); }
}
public bool IsAllowedToHide
{
get { return (bool)GetValue(IsAllowedToHideProperty); }
set { SetValue(IsAllowedToHideProperty, value); }
}
public bool IsAllowedToShow
{
get { return (bool)GetValue(IsAllowedToShowProperty); }
set { SetValue(IsAllowedToShowProperty, value); }
}
public bool IsShown
{
get { return (bool)GetValue(IsShownProperty); }
set { SetValue(IsShownProperty, value); }
}
public double MaxOpacity
{
get { return (double)GetValue(MaxOpacityProperty); }
set { SetValue(MaxOpacityProperty, value); }
}
public double MinOpacity
{
get { return (double)GetValue(MinOpacityProperty); }
set { SetValue(MinOpacityProperty, value); }
}
public double ShowDuration
{
get { return (double)GetValue(ShowDurationProperty); }
set { SetValue(ShowDurationProperty, value); }
}
public double TimerInterval
{
get { return (double)GetValue(TimerIntervalProperty); }
set { SetValue(TimerIntervalProperty, value); }
}
protected override void OnAttached()
{
base.OnAttached();
AssociatedObject.PreviewMouseDown += HandlePreviewMouseDown;
Show();
//VALEPrepareToHide();
}
protected override void OnDetaching()
{
base.OnDetaching();
AssociatedObject.PreviewMouseDown -= HandlePreviewMouseDown;
}
private static void OnIsAllowedToHidePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
var behavior = (AutoHideBehavior)d;
behavior.PingActivity();
}
private static void OnIsShownPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
var behavior = (AutoHideBehavior) d;
if ((bool)e.NewValue) behavior.Show();
else behavior.Hide();
}
private void HandlePreviewMouseDown(object sender, MouseButtonEventArgs e)
{
_lastActivityTime = DateTime.Now;
switch (ActionWhenClicked)
{
case ClickAction.Show:
Show();
break;
case ClickAction.AcceleratedHide:
HideFast();
break;
}
}
private void PrepareToHide()
{
PingActivity();
if (_timer == null)
{
_timer = new DispatcherTimer(TimeSpan.FromSeconds(TimerInterval), DispatcherPriority.Background,
Tick, Dispatcher);
}
}
private void Tick(object sender, EventArgs e)
{
AssociatedObject.IsHitTestVisible = AssociatedObject.Opacity > 0;
if (DateTime.Now - _lastActivityTime > TimeSpan.FromSeconds(HideDelay))
{
if (AssociatedObject.Opacity >= MaxOpacity && IsAllowedToHide) Hide();
else _lastActivityTime = DateTime.Now;
}
}
public void PingActivity()
{
_lastActivityTime = DateTime.Now;
}
public void Show()
{
if (AssociatedObject == null) return;
PingActivity();
//VALEPrepareToHide();
if (IsAllowedToShow)
{
var duration = AreAnimationsEnabled
? new Duration(TimeSpan.FromSeconds(ShowDuration))
: new Duration(TimeSpan.Zero);
IsShown = true;
AssociatedObject.BeginAnimation(UIElement.OpacityProperty, new DoubleAnimation(MaxOpacity, duration));
}
}
public void Hide()
{
if (AssociatedObject == null) return;
var duration = AreAnimationsEnabled
? new Duration(TimeSpan.FromSeconds(HideDuration))
: new Duration(TimeSpan.Zero);
IsShown = false;
AssociatedObject.BeginAnimation(UIElement.OpacityProperty, new DoubleAnimation(MinOpacity, duration));
}
public void HideFast()
{
if (AssociatedObject == null) return;
IsShown = false;
AssociatedObject.BeginAnimation(UIElement.OpacityProperty, null);
AssociatedObject.BeginAnimation(UIElement.OpacityProperty,
new DoubleAnimation(MinOpacity, new Duration(TimeSpan.Zero)));
}
}
}
\ No newline at end of file
<Popup
x:Class="WpfKb.Controls.FloatingNumberKeyboard"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:Interactivity="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
xmlns:WpfKb="clr-namespace:WpfKb"
xmlns:Controls="clr-namespace:WpfKb.Controls"
xmlns:Behaviors="clr-namespace:WpfKb.Behaviors"
x:Name="keyboard"
DataContext="{Binding ElementName=keyboard}"
Placement="Relative"
AllowsTransparency="True"
HorizontalOffset="0"
VerticalOffset="0"
>
<Grid x:Name="LayoutGrid" Height="1080" Width="1920">
<Interactivity:Interaction.Behaviors>
<Behaviors:AutoHideBehavior
AreAnimationsEnabled="{Binding AreAnimationsEnabled}"
IsShown="{Binding IsKeyboardShown, Mode=TwoWay}"
IsAllowedToHide="{Binding IsAllowedToFade}"
MinOpacity="{Binding MinimumKeyboardOpacity}"
MaxOpacity="{Binding MaximumKeyboardOpacity}"
HideDelay="{Binding KeyboardHideDelay}"
HideDuration="{Binding KeyboardHideAnimationDuration}"
ShowDuration="{Binding KeyboardShowAnimationDuration}"
/>
</Interactivity:Interaction.Behaviors>
<Grid.RowDefinitions>
<RowDefinition Height="0" />
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100" />
<ColumnDefinition Width="0"/>
<ColumnDefinition Width="41"/>
<ColumnDefinition Width="123"/>
<ColumnDefinition Width="0*" />
<ColumnDefinition Width="0*"/>
</Grid.ColumnDefinitions>
<Border
Grid.Row="1"
Grid.ColumnSpan="6"
Background="LightGray"
CornerRadius="10, 10, 10, 10" Margin="0,0,0,0"
>
<Controls:OnScreenKeypad
AreAnimationsEnabled="{Binding AreAnimationsEnabled}" OpacityMask="Magenta"
>
<Controls:OnScreenKeypad.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="Black" Offset="0"/>
<GradientStop Color="White" Offset="1"/>
<GradientStop Color="#FFFF3D3D" Offset="0.741"/>
</LinearGradientBrush>
</Controls:OnScreenKeypad.Background>
</Controls:OnScreenKeypad>
</Border>
</Grid>
</Popup>
using System;
using System.Linq;
using System.Windows;
using System.Windows.Input;
namespace WpfKb.Controls
{
public partial class FloatingNumberKeyboard
{
public static readonly DependencyProperty AreAnimationsEnabledProperty = DependencyProperty.Register("AreAnimationsEnabled", typeof(bool), typeof(FloatingTouchScreenKeyboard), new UIPropertyMetadata(true));
public static readonly DependencyProperty IsAllowedToFadeProperty = DependencyProperty.Register("IsAllowedToFade", typeof(bool), typeof(FloatingTouchScreenKeyboard), new UIPropertyMetadata(true));
public static readonly DependencyProperty IsDraggingProperty = DependencyProperty.Register("IsDragging", typeof(bool), typeof(FloatingTouchScreenKeyboard), new UIPropertyMetadata(false));
public static readonly DependencyProperty IsDragHelperAllowedToHideProperty = DependencyProperty.Register("IsDragHelperAllowedToHide", typeof(bool), typeof(FloatingTouchScreenKeyboard), new UIPropertyMetadata(false));
public static readonly DependencyProperty IsKeyboardShownProperty = DependencyProperty.Register("IsKeyboardShown", typeof(bool), typeof(FloatingTouchScreenKeyboard), new UIPropertyMetadata(true));
public static readonly DependencyProperty MaximumKeyboardOpacityProperty = DependencyProperty.Register("MaximumKeyboardOpacity", typeof(double), typeof(FloatingTouchScreenKeyboard), new UIPropertyMetadata(0.9d));
public static readonly DependencyProperty MinimumKeyboardOpacityProperty = DependencyProperty.Register("MinimumKeyboardOpacity", typeof(double), typeof(FloatingTouchScreenKeyboard), new UIPropertyMetadata(0.2d));
public static readonly DependencyProperty KeyboardHideDelayProperty = DependencyProperty.Register("KeyboardHideDelay", typeof(double), typeof(FloatingTouchScreenKeyboard), new UIPropertyMetadata(5d));
public static readonly DependencyProperty KeyboardHideAnimationDurationProperty = DependencyProperty.Register("KeyboardHideAnimationDuration", typeof(double), typeof(FloatingTouchScreenKeyboard), new UIPropertyMetadata(0.5d));
public static readonly DependencyProperty KeyboardShowAnimationDurationProperty = DependencyProperty.Register("KeyboardShowAnimationDuration", typeof(double), typeof(FloatingTouchScreenKeyboard), new UIPropertyMetadata(0.5d));
public static readonly DependencyProperty DeadZoneProperty = DependencyProperty.Register("DeadZone", typeof(double), typeof(FloatingTouchScreenKeyboard), new UIPropertyMetadata(5d));
public FloatingNumberKeyboard()
{
InitializeComponent();
}
/// <summary>
/// Gets or sets a value indicating whether animations are enabled.
/// </summary>
/// <value>
/// <c>true</c> if animations are enabled; otherwise, <c>false</c>.
/// </value>
public bool AreAnimationsEnabled
{
get { return (bool)GetValue(AreAnimationsEnabledProperty); }
set { SetValue(AreAnimationsEnabledProperty, value); }
}
/// <summary>
/// Gets or sets a value that indicates whether the Keyboard is allowed to fade. This is a dependency property.
/// </summary>
public bool IsAllowedToFade
{
get { return (bool)GetValue(IsAllowedToFadeProperty); }
set { SetValue(IsAllowedToFadeProperty, value); }
}
/// <summary>
/// Gets a value that indicates if the keyboard is currently being dragged. This is a dependency property.
/// </summary>
public bool IsDragging
{
get { return (bool)GetValue(IsDraggingProperty); }
private set { SetValue(IsDraggingProperty, value); }
}
/// <summary>
/// Gets or sets a value that indicates if the drag helper text is allowed to hide. This is a dependency property.
/// </summary>
public bool IsDragHelperAllowedToHide
{
get { return (bool)GetValue(IsDragHelperAllowedToHideProperty); }
set { SetValue(IsDragHelperAllowedToHideProperty, value); }
}
/// <summary>
/// Gets a value that indicates that the keyboard is shown (not faded). This is a dependency property.
/// </summary>
public bool IsKeyboardShown
{
get { return (bool)GetValue(IsKeyboardShownProperty); }
private set { SetValue(IsKeyboardShownProperty, value); }
}
/// <summary>
/// Gets or sets the maximum opacity for a fully displayed keyboard. This is a dependency property.
/// </summary>
public double MaximumKeyboardOpacity
{
get { return (double)GetValue(MaximumKeyboardOpacityProperty); }
set { SetValue(MaximumKeyboardOpacityProperty, value); }
}
/// <summary>
/// Gets or sets the opacity to use for a partially hidden keyboard. This is a dependency property.
/// </summary>
public double MinimumKeyboardOpacity
{
get { return (double)GetValue(MinimumKeyboardOpacityProperty); }
set { SetValue(MinimumKeyboardOpacityProperty, value); }
}
/// <summary>
/// Gets or sets the number of seconds to wait after the last keyboard activity before hiding the keyboard. This is a dependency property.
/// </summary>
public double KeyboardHideDelay
{
get { return (double)GetValue(KeyboardHideDelayProperty); }
set { SetValue(KeyboardHideDelayProperty, value); }
}
/// <summary>
/// Gets or sets the duration in seconds for the keyboard hide animation. This is a dependency property.
/// </summary>
public double KeyboardHideAnimationDuration
{
get { return (double)GetValue(KeyboardHideAnimationDurationProperty); }
set { SetValue(KeyboardHideAnimationDurationProperty, value); }
}
/// <summary>
/// Gets or sets the duration in seconds for the keyboard show animation. This is a dependency property.
/// </summary>
public double KeyboardShowAnimationDuration
{
get { return (double)GetValue(KeyboardShowAnimationDurationProperty); }
set { SetValue(KeyboardShowAnimationDurationProperty, value); }
}
/// <summary>
/// Gets or sets the maximum opacity for a fully displayed keyboard. This is a dependency property.
/// </summary>
public double DeadZone
{
get { return (double)GetValue(DeadZoneProperty); }
set { SetValue(DeadZoneProperty, value); }
}
protected override void OnOpened(EventArgs e)
{
IsKeyboardShown = true;
base.OnOpened(e);
}
protected override void OnClosed(EventArgs e)
{
IsKeyboardShown = false;
base.OnClosed(e);
}
}
}
\ No newline at end of file
<Popup
x:Class="WpfKb.Controls.FloatingTouchScreenKeyboard"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:Interactivity="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
xmlns:WpfKb="clr-namespace:WpfKb"
xmlns:Controls="clr-namespace:WpfKb.Controls"
xmlns:Behaviors="clr-namespace:WpfKb.Behaviors"
x:Name="keyboard"
DataContext="{Binding ElementName=keyboard}"
Placement="Relative"
AllowsTransparency="True"
HorizontalOffset="0"
VerticalOffset="0"
>
<Grid x:Name="LayoutGrid" Height="1080" Width="1920">
<Interactivity:Interaction.Behaviors>
<Behaviors:AutoHideBehavior
AreAnimationsEnabled="{Binding AreAnimationsEnabled}"
IsShown="{Binding IsKeyboardShown, Mode=TwoWay}"
IsAllowedToHide="{Binding IsAllowedToFade}"
MinOpacity="{Binding MinimumKeyboardOpacity}"
MaxOpacity="{Binding MaximumKeyboardOpacity}"
HideDelay="{Binding KeyboardHideDelay}"
HideDuration="{Binding KeyboardHideAnimationDuration}"
ShowDuration="{Binding KeyboardShowAnimationDuration}"
/>
</Interactivity:Interaction.Behaviors>
<Grid.RowDefinitions>
<RowDefinition Height="0" />
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100" />
<ColumnDefinition Width="0"/>
<ColumnDefinition Width="41"/>
<ColumnDefinition Width="123"/>
<ColumnDefinition Width="0*" />
<ColumnDefinition Width="0*"/>
</Grid.ColumnDefinitions>
<Border
Grid.Row="1"
Grid.ColumnSpan="6"
Background="LightGray"
CornerRadius="10, 10, 10, 10" Margin="0,0,0,0"
>
<Controls:OnScreenWebKeyboard
AreAnimationsEnabled="{Binding AreAnimationsEnabled}"
/>
</Border>
</Grid>
</Popup>
using System;
using System.Linq;
using System.Windows;
using System.Windows.Input;
namespace WpfKb.Controls
{
public partial class FloatingTouchScreenKeyboard
{
public static readonly DependencyProperty AreAnimationsEnabledProperty = DependencyProperty.Register("AreAnimationsEnabled", typeof(bool), typeof(FloatingTouchScreenKeyboard), new UIPropertyMetadata(true));
public static readonly DependencyProperty IsAllowedToFadeProperty = DependencyProperty.Register("IsAllowedToFade", typeof(bool), typeof(FloatingTouchScreenKeyboard), new UIPropertyMetadata(true));
public static readonly DependencyProperty IsDraggingProperty = DependencyProperty.Register("IsDragging", typeof(bool), typeof(FloatingTouchScreenKeyboard), new UIPropertyMetadata(false));
public static readonly DependencyProperty IsDragHelperAllowedToHideProperty = DependencyProperty.Register("IsDragHelperAllowedToHide", typeof(bool), typeof(FloatingTouchScreenKeyboard), new UIPropertyMetadata(false));
public static readonly DependencyProperty IsKeyboardShownProperty = DependencyProperty.Register("IsKeyboardShown", typeof(bool), typeof(FloatingTouchScreenKeyboard), new UIPropertyMetadata(true));
public static readonly DependencyProperty MaximumKeyboardOpacityProperty = DependencyProperty.Register("MaximumKeyboardOpacity", typeof(double), typeof(FloatingTouchScreenKeyboard), new UIPropertyMetadata(0.9d));
public static readonly DependencyProperty MinimumKeyboardOpacityProperty = DependencyProperty.Register("MinimumKeyboardOpacity", typeof(double), typeof(FloatingTouchScreenKeyboard), new UIPropertyMetadata(0.2d));
public static readonly DependencyProperty KeyboardHideDelayProperty = DependencyProperty.Register("KeyboardHideDelay", typeof(double), typeof(FloatingTouchScreenKeyboard), new UIPropertyMetadata(5d));
public static readonly DependencyProperty KeyboardHideAnimationDurationProperty = DependencyProperty.Register("KeyboardHideAnimationDuration", typeof(double), typeof(FloatingTouchScreenKeyboard), new UIPropertyMetadata(0.5d));
public static readonly DependencyProperty KeyboardShowAnimationDurationProperty = DependencyProperty.Register("KeyboardShowAnimationDuration", typeof(double), typeof(FloatingTouchScreenKeyboard), new UIPropertyMetadata(0.5d));
public static readonly DependencyProperty DeadZoneProperty = DependencyProperty.Register("DeadZone", typeof(double), typeof(FloatingTouchScreenKeyboard), new UIPropertyMetadata(5d));
public FloatingTouchScreenKeyboard()
{
InitializeComponent();
}
/// <summary>
/// Gets or sets a value indicating whether animations are enabled.
/// </summary>
/// <value>
/// <c>true</c> if animations are enabled; otherwise, <c>false</c>.
/// </value>
public bool AreAnimationsEnabled
{
get { return (bool)GetValue(AreAnimationsEnabledProperty); }
set { SetValue(AreAnimationsEnabledProperty, value); }
}
/// <summary>
/// Gets or sets a value that indicates whether the Keyboard is allowed to fade. This is a dependency property.
/// </summary>
public bool IsAllowedToFade
{
get { return (bool)GetValue(IsAllowedToFadeProperty); }
set { SetValue(IsAllowedToFadeProperty, value); }
}
/// <summary>
/// Gets a value that indicates if the keyboard is currently being dragged. This is a dependency property.
/// </summary>
public bool IsDragging
{
get { return (bool)GetValue(IsDraggingProperty); }
private set { SetValue(IsDraggingProperty, value); }
}
/// <summary>
/// Gets or sets a value that indicates if the drag helper text is allowed to hide. This is a dependency property.
/// </summary>
public bool IsDragHelperAllowedToHide
{
get { return (bool)GetValue(IsDragHelperAllowedToHideProperty); }
set { SetValue(IsDragHelperAllowedToHideProperty, value); }
}
/// <summary>
/// Gets a value that indicates that the keyboard is shown (not faded). This is a dependency property.
/// </summary>
public bool IsKeyboardShown
{
get { return (bool)GetValue(IsKeyboardShownProperty); }
private set { SetValue(IsKeyboardShownProperty, value); }
}
/// <summary>
/// Gets or sets the maximum opacity for a fully displayed keyboard. This is a dependency property.
/// </summary>
public double MaximumKeyboardOpacity
{
get { return (double)GetValue(MaximumKeyboardOpacityProperty); }
set { SetValue(MaximumKeyboardOpacityProperty, value); }
}
/// <summary>
/// Gets or sets the opacity to use for a partially hidden keyboard. This is a dependency property.
/// </summary>
public double MinimumKeyboardOpacity
{
get { return (double)GetValue(MinimumKeyboardOpacityProperty); }
set { SetValue(MinimumKeyboardOpacityProperty, value); }
}
/// <summary>
/// Gets or sets the number of seconds to wait after the last keyboard activity before hiding the keyboard. This is a dependency property.
/// </summary>
public double KeyboardHideDelay
{
get { return (double)GetValue(KeyboardHideDelayProperty); }
set { SetValue(KeyboardHideDelayProperty, value); }
}
/// <summary>
/// Gets or sets the duration in seconds for the keyboard hide animation. This is a dependency property.
/// </summary>
public double KeyboardHideAnimationDuration
{
get { return (double)GetValue(KeyboardHideAnimationDurationProperty); }
set { SetValue(KeyboardHideAnimationDurationProperty, value); }
}
/// <summary>
/// Gets or sets the duration in seconds for the keyboard show animation. This is a dependency property.
/// </summary>
public double KeyboardShowAnimationDuration
{
get { return (double)GetValue(KeyboardShowAnimationDurationProperty); }
set { SetValue(KeyboardShowAnimationDurationProperty, value); }
}
/// <summary>
/// Gets or sets the maximum opacity for a fully displayed keyboard. This is a dependency property.
/// </summary>
public double DeadZone
{
get { return (double)GetValue(DeadZoneProperty); }
set { SetValue(DeadZoneProperty, value); }
}
protected override void OnOpened(EventArgs e)
{
IsKeyboardShown = true;
base.OnOpened(e);
}
protected override void OnClosed(EventArgs e)
{
IsKeyboardShown = false;
base.OnClosed(e);
}
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Collections.ObjectModel;
namespace WpfKb.Controls
{
public class OnScreenKeyboardSection : Grid
{
private ObservableCollection<OnScreenKey> _keys;
private List<Grid> _buttonRows;
public ObservableCollection<OnScreenKey> Keys
{
get { return _keys; }
set
{
if (value == _keys) return;
Reset();
_keys = value;
LayoutKeys();
}
}
public OnScreenKeyboardSection()
{
Margin = new Thickness(5);
_buttonRows = new List<Grid>();
_keys = new ObservableCollection<OnScreenKey>();
_keys.CollectionChanged += Keys_CollectionChanged;
}
private void Keys_CollectionChanged(object sender,
System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
{
switch (e.Action)
{
case System.Collections.Specialized.NotifyCollectionChangedAction.Add:
case System.Collections.Specialized.NotifyCollectionChangedAction.Remove:
LayoutKeys();
break;
case System.Collections.Specialized.NotifyCollectionChangedAction.Replace:
throw new NotSupportedException("You cannot currently replace keys.");
case System.Collections.Specialized.NotifyCollectionChangedAction.Reset:
Reset();
break;
default:
break;
}
}
private void LayoutKeys()
{
if (_keys == null || _keys.Count == 0) return;
ResizeGrid(_keys);
for (var buttonRowIndex = 0; buttonRowIndex < _buttonRows.Count; buttonRowIndex++)
{
var grid = _buttonRows[buttonRowIndex];
grid.Children.Clear();
foreach (var key in _keys.Where(x => x.GridRow == buttonRowIndex))
{
grid.Children.Add(key);
}
}
}
private void ResizeGrid(IEnumerable<OnScreenKey> keys)
{
if (keys == null) throw new ArgumentNullException("keys");
// Make sure there's enough rows
var rowCount = keys.Max(x => x.GridRow) + 1;
for (var extraRowIndex = RowDefinitions.Count; extraRowIndex < rowCount; extraRowIndex++)
{
// Button Row
RowDefinitions.Add(new RowDefinition());
// Add a grid for the buttons
var g = new Grid();
_buttonRows.Add(g);
Children.Add(g);
g.SetValue(RowProperty, extraRowIndex);
}
// Make sure each row has enough columns
for (var buttonRowIndex = 0; buttonRowIndex < rowCount; buttonRowIndex++)
{
var grid = _buttonRows[buttonRowIndex];
var colCount = keys.Where(x => x.GridRow == buttonRowIndex).Max(x => x.GridColumn) + 1;
for (var colsToAdd = colCount - grid.ColumnDefinitions.Count; colsToAdd > 0; colsToAdd--)
{
// Add the extra Column
grid.ColumnDefinitions.Add(new ColumnDefinition());
}
for (var colsToRemove = grid.ColumnDefinitions.Count - colCount; colsToRemove > 0; colsToRemove--)
{
// Remove the extra Column
grid.ColumnDefinitions.RemoveAt(0);
}
// Set the width of each column according to the key's GridWidth definition
keys.Where(x => x.GridRow == buttonRowIndex && x.GridWidth.Value != 1).ToList()
.ForEach(x => grid.ColumnDefinitions[x.GridColumn].Width = x.GridWidth);
}
}
private void Reset()
{
_keys = null;
Children.Clear();
RowDefinitions.Clear();
ColumnDefinitions.Clear();
}
}
}
\ No newline at end of file
using System.Collections.ObjectModel;
using WindowsInput;
using WpfKb.LogicalKeys;
namespace WpfKb.Controls
{
public class OnScreenKeypad : UniformOnScreenKeyboard
{
public OnScreenKeypad()
{
Keys = new ObservableCollection<OnScreenKey>
{
new OnScreenKey { GridRow = 0, GridColumn = 0, Key = new VirtualKey(VirtualKeyCode.VK_7, "7") },
new OnScreenKey { GridRow = 0, GridColumn = 1, Key = new VirtualKey(VirtualKeyCode.VK_8, "8") },
new OnScreenKey { GridRow = 0, GridColumn = 2, Key = new VirtualKey(VirtualKeyCode.VK_9, "9") },
new OnScreenKey { GridRow = 1, GridColumn = 0, Key = new VirtualKey(VirtualKeyCode.VK_4, "4") },
new OnScreenKey { GridRow = 1, GridColumn = 1, Key = new VirtualKey(VirtualKeyCode.VK_5, "5") },
new OnScreenKey { GridRow = 1, GridColumn = 2, Key = new VirtualKey(VirtualKeyCode.VK_6, "6") },
new OnScreenKey { GridRow = 2, GridColumn = 0, Key = new VirtualKey(VirtualKeyCode.VK_1, "1") },
new OnScreenKey { GridRow = 2, GridColumn = 1, Key = new VirtualKey(VirtualKeyCode.VK_2, "2") },
new OnScreenKey { GridRow = 2, GridColumn = 2, Key = new VirtualKey(VirtualKeyCode.VK_3, "3") },
//new OnScreenKey { GridRow = 3, GridColumn = 0, Key = new VirtualKey(VirtualKeyCode.DELETE, "Clear") },
new OnScreenKey { GridRow = 3, GridColumn = 1, Key = new VirtualKey(VirtualKeyCode.VK_0, "0") },
new OnScreenKey { GridRow = 3, GridColumn = 2, Key = new VirtualKey(VirtualKeyCode.BACK, "Canc") },
};
}
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using WindowsInput;
using WpfKb.LogicalKeys;
namespace WpfKb.Controls
{
public class OnScreenWebKeyboard : Grid
{
public static readonly DependencyProperty AreAnimationsEnabledProperty = DependencyProperty.Register("AreAnimationsEnabled", typeof(bool), typeof(OnScreenWebKeyboard), new UIPropertyMetadata(true, OnAreAnimationsEnabledPropertyChanged));
private ObservableCollection<OnScreenKeyboardSection> _sections;
private List<ModifierKeyBase> _modifierKeys;
private List<ILogicalKey> _allLogicalKeys;
private List<OnScreenKey> _allOnScreenKeys;
public bool AreAnimationsEnabled
{
get { return (bool)GetValue(AreAnimationsEnabledProperty); }
set { SetValue(AreAnimationsEnabledProperty, value); }
}
private static void OnAreAnimationsEnabledPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
var keyboard = (OnScreenWebKeyboard)d;
keyboard._allOnScreenKeys.ToList().ForEach(x => x.AreAnimationsEnabled = (bool)e.NewValue);
}
public override void BeginInit()
{
SetValue(FocusManager.IsFocusScopeProperty, true);
_modifierKeys = new List<ModifierKeyBase>();
_allLogicalKeys = new List<ILogicalKey>();
_allOnScreenKeys = new List<OnScreenKey>();
_sections = new ObservableCollection<OnScreenKeyboardSection>();
var mainSection = new OnScreenKeyboardSection();
var mainKeys = new ObservableCollection<OnScreenKey>
{
new OnScreenKey { GridRow = 0, GridColumn = 0, Key = new StringKey("1", "1")},
new OnScreenKey { GridRow = 0, GridColumn = 1, Key = new StringKey("2", "2")},
new OnScreenKey { GridRow = 0, GridColumn = 2, Key = new StringKey("3", "3")},
new OnScreenKey { GridRow = 0, GridColumn = 3, Key = new StringKey("4", "4")},
new OnScreenKey { GridRow = 0, GridColumn = 4, Key = new StringKey("5", "5")},
new OnScreenKey { GridRow = 0, GridColumn = 5, Key = new StringKey("6", "6")},
new OnScreenKey { GridRow = 0, GridColumn = 6, Key = new StringKey("7", "7")},
new OnScreenKey { GridRow = 0, GridColumn = 7, Key = new StringKey("8", "8")},
new OnScreenKey { GridRow = 0, GridColumn = 8, Key = new StringKey("9", "9")},
new OnScreenKey { GridRow = 0, GridColumn = 9, Key = new StringKey("0", "0")},
new OnScreenKey { GridRow = 0, GridColumn = 10, Key = new VirtualKey(VirtualKeyCode.BACK, "Canc"), GridWidth = new GridLength(2, GridUnitType.Star)},
new OnScreenKey { GridRow = 1, GridColumn = 0, Key = new StringKey("Q", "Q")},
new OnScreenKey { GridRow = 1, GridColumn = 1, Key = new StringKey("W", "W")},
new OnScreenKey { GridRow = 1, GridColumn = 2, Key = new StringKey("E", "E")},
new OnScreenKey { GridRow = 1, GridColumn = 3, Key = new StringKey("R", "R")},
new OnScreenKey { GridRow = 1, GridColumn = 4, Key = new StringKey("T", "T")},
new OnScreenKey { GridRow = 1, GridColumn = 5, Key = new StringKey("Y", "Y")},
new OnScreenKey { GridRow = 1, GridColumn = 6, Key = new StringKey("U", "U")},
new OnScreenKey { GridRow = 1, GridColumn = 7, Key = new StringKey("I", "I")},
new OnScreenKey { GridRow = 1, GridColumn = 8, Key = new StringKey("O", "O")},
new OnScreenKey { GridRow = 1, GridColumn = 9, Key = new StringKey("P", "P")},
new OnScreenKey { GridRow = 2, GridColumn = 0, Key = new StringKey("A", "A")},
new OnScreenKey { GridRow = 2, GridColumn = 1, Key = new StringKey("S", "S")},
new OnScreenKey { GridRow = 2, GridColumn = 2, Key = new StringKey("D", "D")},
new OnScreenKey { GridRow = 2, GridColumn = 3, Key = new StringKey("F", "F")},
new OnScreenKey { GridRow = 2, GridColumn = 4, Key = new StringKey("G", "G")},
new OnScreenKey { GridRow = 2, GridColumn = 5, Key = new StringKey("H", "H")},
new OnScreenKey { GridRow = 2, GridColumn = 6, Key = new StringKey("J", "J")},
new OnScreenKey { GridRow = 2, GridColumn = 7, Key = new StringKey("K", "K")},
new OnScreenKey { GridRow = 2, GridColumn = 8, Key = new StringKey("L", "L")},
new OnScreenKey { GridRow = 2, GridColumn = 9, Key = new StringKey("@", "@")},
new OnScreenKey { GridRow = 3, GridColumn = 0, Key = new StringKey("Z", "Z")},
new OnScreenKey { GridRow = 3, GridColumn = 1, Key = new StringKey("X", "X")},
new OnScreenKey { GridRow = 3, GridColumn = 2, Key = new StringKey("C", "C")},
new OnScreenKey { GridRow = 3, GridColumn = 3, Key = new StringKey("V", "V")},
new OnScreenKey { GridRow = 3, GridColumn = 4, Key = new StringKey("B", "B")},
new OnScreenKey { GridRow = 3, GridColumn = 5, Key = new StringKey("N", "N")},
new OnScreenKey { GridRow = 3, GridColumn = 6, Key = new StringKey("M", "M")},
new OnScreenKey { GridRow = 3, GridColumn = 7, Key = new StringKey(".", ".")},
new OnScreenKey { GridRow = 3, GridColumn = 8, Key = new StringKey("_", "_")},
new OnScreenKey { GridRow = 3, GridColumn = 9, Key = new StringKey("-", "-")},
new OnScreenKey { GridRow = 4, GridColumn = 0, Key = new VirtualKey(VirtualKeyCode.SPACE, " "), GridWidth = new GridLength(5, GridUnitType.Star)},
};
mainSection.Keys = mainKeys;
mainSection.SetValue(ColumnProperty, 0);
_sections.Add(mainSection);
ColumnDefinitions.Add(new ColumnDefinition { Width = new GridLength(3, GridUnitType.Star) });
Children.Add(mainSection);
_allLogicalKeys.AddRange(mainKeys.Select(x => x.Key));
_allOnScreenKeys.AddRange(mainSection.Keys);
var specialSection = new OnScreenKeyboardSection();
_modifierKeys.AddRange(_allLogicalKeys.OfType<ModifierKeyBase>());
_allOnScreenKeys.ForEach(x => x.OnScreenKeyPress += OnScreenKeyPress);
SynchroniseModifierKeyState();
base.BeginInit();
}
void OnScreenKeyPress(DependencyObject sender, OnScreenKeyEventArgs e)
{
if (e.OnScreenKey.Key is ModifierKeyBase)
{
var modifierKey = (ModifierKeyBase)e.OnScreenKey.Key;
if (modifierKey.KeyCode == VirtualKeyCode.SHIFT)
{
HandleShiftKeyPressed(modifierKey);
}
else if (modifierKey.KeyCode == VirtualKeyCode.CAPITAL)
{
HandleCapsLockKeyPressed(modifierKey);
}
else if (modifierKey.KeyCode == VirtualKeyCode.NUMLOCK)
{
HandleNumLockKeyPressed(modifierKey);
}
}
else
{
ResetInstantaneousModifierKeys();
}
_modifierKeys.OfType<InstantaneousModifierKey>().ToList().ForEach(x => x.SynchroniseKeyState());
}
private void SynchroniseModifierKeyState()
{
_modifierKeys.ToList().ForEach(x => x.SynchroniseKeyState());
}
private void ResetInstantaneousModifierKeys()
{
_modifierKeys.OfType<InstantaneousModifierKey>().ToList().ForEach(x => { if (x.IsInEffect) x.Press(); });
}
void HandleShiftKeyPressed(ModifierKeyBase shiftKey)
{
_allLogicalKeys.OfType<CaseSensitiveKey>().ToList().ForEach(x => x.SelectedIndex =
InputSimulator.IsTogglingKeyInEffect(VirtualKeyCode.CAPITAL) ^ shiftKey.IsInEffect ? 1 : 0);
_allLogicalKeys.OfType<ShiftSensitiveKey>().ToList().ForEach(x => x.SelectedIndex = shiftKey.IsInEffect ? 1 : 0);
}
void HandleCapsLockKeyPressed(ModifierKeyBase capsLockKey)
{
_allLogicalKeys.OfType<CaseSensitiveKey>().ToList().ForEach(x => x.SelectedIndex =
capsLockKey.IsInEffect ^ InputSimulator.IsKeyDownAsync(VirtualKeyCode.SHIFT) ? 1 : 0);
}
void HandleNumLockKeyPressed(ModifierKeyBase numLockKey)
{
_allLogicalKeys.OfType<NumLockSensitiveKey>().ToList().ForEach(x => x.SelectedIndex = numLockKey.IsInEffect ? 1 : 0);
}
}
}
\ No newline at end of file
using System.Linq;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Windows.Controls;
using System.Windows;
namespace WpfKb.Controls
{
public class UniformOnScreenKeyboard : Grid
{
public static readonly DependencyProperty AreAnimationsEnabledProperty = DependencyProperty.Register("AreAnimationsEnabled", typeof(bool), typeof(UniformOnScreenKeyboard), new UIPropertyMetadata(true, OnAreAnimationsEnabledPropertyChanged));
private ObservableCollection<OnScreenKey> _keys;
public bool AreAnimationsEnabled
{
get { return (bool)GetValue(AreAnimationsEnabledProperty); }
set { SetValue(AreAnimationsEnabledProperty, value); }
}
public ObservableCollection<OnScreenKey> Keys
{
get { return _keys; }
set
{
if (value == _keys) return;
Reset();
_keys = value;
if (_keys != null)
foreach (var key in _keys)
{
Children.Add(key);
}
ResizeGrid();
}
}
public UniformOnScreenKeyboard()
{
_keys = new ObservableCollection<OnScreenKey>();
_keys.CollectionChanged += Keys_CollectionChanged;
}
private static void OnAreAnimationsEnabledPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
var keyboard = (UniformOnScreenKeyboard)d;
keyboard.Keys.ToList().ForEach(x => x.AreAnimationsEnabled = (bool)e.NewValue);
}
private void Keys_CollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
{
switch (e.Action)
{
case NotifyCollectionChangedAction.Add:
// Add the keys to the Grid's Children collection and resize the grid
foreach (var key in e.NewItems.OfType<OnScreenKey>())
{
key.AreAnimationsEnabled = AreAnimationsEnabled;
Children.Add(key);
}
ResizeGrid();
break;
case NotifyCollectionChangedAction.Remove:
// Remove the keys from the Grid's Children collection and resize the grid
foreach (var key in e.OldItems.OfType<OnScreenKey>())
{
Children.Remove(key);
}
ResizeGrid();
break;
case NotifyCollectionChangedAction.Replace:
// Throw everything away and start again
Children.Clear();
foreach (var key in _keys)
{
Children.Add(key);
}
ResizeGrid();
break;
case NotifyCollectionChangedAction.Reset:
Reset();
break;
default:
break;
}
}
private void ResizeGrid()
{
if (_keys == null)
{
Reset();
return;
}
// Make sure there's the right number of rows
var rowCount = _keys.Max(x => x.GridRow) + 1;
for (var rowsToAdd = rowCount - RowDefinitions.Count; rowsToAdd > 0; rowsToAdd--)
{
// Add the extra Row
RowDefinitions.Add(new RowDefinition());
}
for (var rowsToRemove = RowDefinitions.Count - rowCount; rowsToRemove > 0; rowsToRemove--)
{
// Remove the extra Row
RowDefinitions.RemoveAt(0);
}
// Make sure there's the right number of cols
var colCount = _keys.Max(x => x.GridColumn) + 1;
for (var colsToAdd = colCount - ColumnDefinitions.Count; colsToAdd > 0; colsToAdd--)
{
// Add the extra Column
ColumnDefinitions.Add(new ColumnDefinition());
}
for (var colsToRemove = ColumnDefinitions.Count - colCount; colsToRemove > 0; colsToRemove--)
{
// Remove the extra Column
ColumnDefinitions.RemoveAt(0);
}
}
private void Reset()
{
_keys = null;
Children.Clear();
RowDefinitions.Clear();
ColumnDefinitions.Clear();
}
}
}
\ No newline at end of file
using System.Collections.Generic;
using WindowsInput;
namespace WpfKb.LogicalKeys
{
public class CaseSensitiveKey : MultiCharacterKey
{
public CaseSensitiveKey(VirtualKeyCode keyCode, IList<string> keyDisplays)
: base(keyCode, keyDisplays)
{
}
}
}
\ No newline at end of file
using System.Collections.Generic;
using WindowsInput;
namespace WpfKb.LogicalKeys
{
public class ChordKey : LogicalKeyBase
{
public IList<VirtualKeyCode> ModifierKeys { get; private set; }
public IList<VirtualKeyCode> Keys { get; private set; }
public ChordKey(string displayName, VirtualKeyCode modifierKey, VirtualKeyCode key)
: this(displayName, new List<VirtualKeyCode> { modifierKey }, new List<VirtualKeyCode> { key })
{
}
public ChordKey(string displayName, IList<VirtualKeyCode> modifierKeys, VirtualKeyCode key)
: this(displayName, modifierKeys, new List<VirtualKeyCode> { key })
{
}
public ChordKey(string displayName, VirtualKeyCode modifierKey, IList<VirtualKeyCode> keys)
: this(displayName, new List<VirtualKeyCode> { modifierKey }, keys)
{
}
public ChordKey(string displayName, IList<VirtualKeyCode> modifierKeys, IList<VirtualKeyCode> keys)
{
DisplayName = displayName;
ModifierKeys = modifierKeys;
Keys = keys;
}
public override void Press()
{
InputSimulator.SimulateModifiedKeyStroke(ModifierKeys, Keys);
base.Press();
}
}
}
\ No newline at end of file
using System.ComponentModel;
namespace WpfKb.LogicalKeys
{
public interface ILogicalKey : INotifyPropertyChanged
{
string DisplayName { get; }
void Press();
event LogicalKeyPressedEventHandler LogicalKeyPressed;
}
}
\ No newline at end of file
using WindowsInput;
namespace WpfKb.LogicalKeys
{
public class InstantaneousModifierKey : ModifierKeyBase
{
public InstantaneousModifierKey(string displayName, VirtualKeyCode keyCode) :
base(keyCode)
{
DisplayName = displayName;
}
public override void Press()
{
if (IsInEffect) InputSimulator.SimulateKeyUp(KeyCode);
else InputSimulator.SimulateKeyDown(KeyCode);
// We need to use IsKeyDownAsync here so we will know exactly what state the key will be in
// once the active windows read the input from the MessagePump. IsKeyDown will only report
// the correct value after the input has been read from the MessagePump and will not be correct
// by the time we set IsInEffect.
IsInEffect = InputSimulator.IsKeyDownAsync(KeyCode);
OnKeyPressed();
}
public override void SynchroniseKeyState()
{
IsInEffect = InputSimulator.IsKeyDownAsync(KeyCode);
}
}
}
\ No newline at end of file
using System;
using System.ComponentModel;
namespace WpfKb.LogicalKeys
{
public class LogicalKeyEventArgs : EventArgs
{
public ILogicalKey Key { get; private set; }
public LogicalKeyEventArgs(ILogicalKey key)
{
Key = key;
}
}
public delegate void LogicalKeyPressedEventHandler(object sender, LogicalKeyEventArgs e);
public abstract class LogicalKeyBase : ILogicalKey
{
public event LogicalKeyPressedEventHandler LogicalKeyPressed;
public event PropertyChangedEventHandler PropertyChanged;
private string _displayName;
public virtual string DisplayName
{
get { return _displayName; }
set
{
if (value != _displayName)
{
_displayName = value;
OnPropertyChanged("DisplayName");
}
}
}
public virtual void Press()
{
OnKeyPressed();
}
protected void OnKeyPressed()
{
if (LogicalKeyPressed != null) LogicalKeyPressed(this, new LogicalKeyEventArgs(this));
}
protected virtual void OnPropertyChanged(string propertyName)
{
var handler = PropertyChanged;
if (handler != null)
{
var args = new PropertyChangedEventArgs(propertyName);
handler(this, args);
}
}
}
}
\ No newline at end of file
using WindowsInput;
namespace WpfKb.LogicalKeys
{
public abstract class ModifierKeyBase : VirtualKey
{
private bool _isInEffect;
public bool IsInEffect
{
get { return _isInEffect; }
set
{
if (value != _isInEffect)
{
_isInEffect = value;
OnPropertyChanged("IsInEffect");
}
}
}
protected ModifierKeyBase(VirtualKeyCode keyCode) :
base(keyCode)
{
}
public abstract void SynchroniseKeyState();
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using WindowsInput;
namespace WpfKb.LogicalKeys
{
public class MultiCharacterKey : VirtualKey
{
private int _selectedIndex;
public IList<string> KeyDisplays { get; protected set; }
public string SelectedKeyDisplay { get; protected set; }
public int SelectedIndex
{
get { return _selectedIndex; }
set
{
if (value != _selectedIndex)
{
_selectedIndex = value;
SelectedKeyDisplay = KeyDisplays[value];
DisplayName = SelectedKeyDisplay;
OnPropertyChanged("SelectedIndex");
OnPropertyChanged("SelectedKeyDisplay");
}
}
}
public MultiCharacterKey(VirtualKeyCode keyCode, IList<string> keyDisplays) :
base(keyCode)
{
if (keyDisplays == null) throw new ArgumentNullException("keyDisplays");
if (keyDisplays.Count <= 0)
throw new ArgumentException("Please provide a list of one or more keyDisplays", "keyDisplays");
KeyDisplays = keyDisplays;
DisplayName = keyDisplays[0];
}
}
}
\ No newline at end of file
using System.Collections.Generic;
using WindowsInput;
namespace WpfKb.LogicalKeys
{
public class NumLockSensitiveKey : MultiCharacterKey
{
public NumLockSensitiveKey(VirtualKeyCode keyCode, IList<string> keyDisplays)
: base(keyCode, keyDisplays)
{
}
}
}
\ No newline at end of file
using System.Collections.Generic;
using WindowsInput;
namespace WpfKb.LogicalKeys
{
public class ShiftSensitiveKey : MultiCharacterKey
{
public ShiftSensitiveKey(VirtualKeyCode keyCode, IList<string> keyDisplays)
: base(keyCode, keyDisplays)
{
}
}
}
\ No newline at end of file
using System;
using System.Linq;
using WindowsInput;
namespace WpfKb.LogicalKeys
{
public class StringKey : LogicalKeyBase
{
private string _stringToSimulate;
public virtual string StringToSimulate
{
get { return _stringToSimulate; }
set
{
if (value != _stringToSimulate)
{
_stringToSimulate = value;
OnPropertyChanged("StringToSimulate");
}
}
}
public StringKey(string displayName, string stringToSimulate)
{
DisplayName = displayName;
_stringToSimulate = stringToSimulate;
}
public StringKey()
{
}
public override void Press()
{
InputSimulator.SimulateTextEntry(_stringToSimulate);
base.Press();
}
}
}
using WindowsInput;
namespace WpfKb.LogicalKeys
{
public class TogglingModifierKey : ModifierKeyBase
{
public TogglingModifierKey(string displayName, VirtualKeyCode keyCode) :
base(keyCode)
{
DisplayName = displayName;
}
public override void Press()
{
// This is a bit tricky because we can only get the state of a toggling key after the input has been
// read off the MessagePump. Ergo if we make that assumption that in the time it takes to run this method
// we will be toggling the state of the key, set IsInEffect to the new state and then press the key.
IsInEffect = !InputSimulator.IsTogglingKeyInEffect(KeyCode);
base.Press();
}
public override void SynchroniseKeyState()
{
IsInEffect = InputSimulator.IsTogglingKeyInEffect(KeyCode);
}
}
}
\ No newline at end of file
using WindowsInput;
namespace WpfKb.LogicalKeys
{
public class VirtualKey : LogicalKeyBase
{
private VirtualKeyCode _keyCode;
public virtual VirtualKeyCode KeyCode
{
get { return _keyCode; }
set
{
if (value != _keyCode)
{
_keyCode = value;
OnPropertyChanged("KeyCode");
}
}
}
public VirtualKey(VirtualKeyCode keyCode, string displayName)
{
DisplayName = displayName;
KeyCode = keyCode;
}
public VirtualKey(VirtualKeyCode keyCode)
{
KeyCode = keyCode;
}
public VirtualKey()
{
}
public override void Press()
{
InputSimulator.SimulateKeyPress(_keyCode);
base.Press();
}
}
}
\ No newline at end of file
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("WpfKb")]
[assembly: AssemblyDescription("An on-screen or touch screen keyboard control and toolkit for WPF.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("michaelnoonan")]
[assembly: AssemblyProduct("WpfKb")]
[assembly: AssemblyCopyright("Copyright © michaelnoonan 2009")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
//In order to begin building localizable applications, set
//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file
//inside a <PropertyGroup>. For example, if you are using US english
//in your source files, set the <UICulture> to en-US. Then uncomment
//the NeutralResourceLanguage attribute below. Update the "en-US" in
//the line below to match the UICulture setting in the project file.
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
//(used if a resource is not found in the page,
// or application resource dictionaries)
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
//(used if a resource is not found in the page,
// app, or any theme specific resource dictionaries)
)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.1.0.0")]
[assembly: AssemblyFileVersion("0.1.0.0")]
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3053
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace WpfKb.Properties {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WpfKb.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3053
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace WpfKb.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
}
}
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{0784CDC9-0F52-4B8B-9488-6589C11E94E2}</ProjectGuid>
<OutputType>library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>WpfKb</RootNamespace>
<AssemblyName>WpfKb</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\WpfKb.xml</DocumentationFile>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\WpfKb.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DocumentationFile>bin\Debug\WpfKb.xml</DocumentationFile>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>ManagedMinimumRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<DocumentationFile>bin\Release\WpfKb.xml</DocumentationFile>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>ManagedMinimumRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="InputSimulator, Version=0.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\References\InputSimulator\InputSimulator.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Expression.Interactions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\References\Blend\Microsoft.Expression.Interactions.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Windows.Interactivity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\References\Blend\System.Windows.Interactivity.dll</HintPath>
</Reference>
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="UIAutomationProvider">
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
<Reference Include="WindowsBase">
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
<Reference Include="PresentationCore">
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
<Reference Include="PresentationFramework">
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Behaviors\AutoHideBehavior.cs" />
<Compile Include="Controls\FloatingNumberKeyboard.xaml.cs">
<DependentUpon>FloatingNumberKeyboard.xaml</DependentUpon>
</Compile>
<Compile Include="Controls\FloatingTouchScreenKeyboard.xaml.cs">
<DependentUpon>FloatingTouchScreenKeyboard.xaml</DependentUpon>
</Compile>
<Compile Include="LogicalKeys\CaseSensitiveKey.cs" />
<Compile Include="LogicalKeys\ChordKey.cs" />
<Compile Include="LogicalKeys\ILogicalKey.cs" />
<Compile Include="LogicalKeys\InstantaneousModifierKey.cs" />
<Compile Include="LogicalKeys\LogicalKeyBase.cs" />
<Compile Include="LogicalKeys\ModifierKeyBase.cs" />
<Compile Include="LogicalKeys\MultiCharacterKey.cs" />
<Compile Include="LogicalKeys\NumLockSensitiveKey.cs" />
<Compile Include="LogicalKeys\ShiftSensitiveKey.cs" />
<Compile Include="LogicalKeys\StringKey.cs" />
<Compile Include="LogicalKeys\TogglingModifierKey.cs" />
<Compile Include="LogicalKeys\VirtualKey.cs" />
<Compile Include="Behaviors\OnScreenKey.cs" />
<Compile Include="Controls\OnScreenKeyboard.cs" />
<Compile Include="Controls\OnScreenKeyboardSection.cs" />
<Compile Include="Controls\OnScreenKeypad.cs" />
<Compile Include="Controls\OnScreenWebKeyboard.cs" />
<Compile Include="Properties\AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<Compile Include="Controls\UniformOnScreenKeyboard.cs" />
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<AppDesigner Include="Properties\" />
</ItemGroup>
<ItemGroup>
<Page Include="Controls\FloatingNumberKeyboard.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Controls\FloatingTouchScreenKeyboard.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
\ No newline at end of file
<?xml version="1.0"?>
<doc>
<assembly>
<name>WpfKb</name>
</assembly>
<members>
<member name="T:WpfKb.Controls.FloatingNumberKeyboard">
<summary>
FloatingNumberKeyboard
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingNumberKeyboard.AreAnimationsEnabled">
<summary>
Gets or sets a value indicating whether animations are enabled.
</summary>
<value>
<c>true</c> if animations are enabled; otherwise, <c>false</c>.
</value>
</member>
<member name="P:WpfKb.Controls.FloatingNumberKeyboard.IsAllowedToFade">
<summary>
Gets or sets a value that indicates whether the Keyboard is allowed to fade. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingNumberKeyboard.IsDragging">
<summary>
Gets a value that indicates if the keyboard is currently being dragged. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingNumberKeyboard.IsDragHelperAllowedToHide">
<summary>
Gets or sets a value that indicates if the drag helper text is allowed to hide. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingNumberKeyboard.IsKeyboardShown">
<summary>
Gets a value that indicates that the keyboard is shown (not faded). This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingNumberKeyboard.MaximumKeyboardOpacity">
<summary>
Gets or sets the maximum opacity for a fully displayed keyboard. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingNumberKeyboard.MinimumKeyboardOpacity">
<summary>
Gets or sets the opacity to use for a partially hidden keyboard. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingNumberKeyboard.KeyboardHideDelay">
<summary>
Gets or sets the number of seconds to wait after the last keyboard activity before hiding the keyboard. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingNumberKeyboard.KeyboardHideAnimationDuration">
<summary>
Gets or sets the duration in seconds for the keyboard hide animation. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingNumberKeyboard.KeyboardShowAnimationDuration">
<summary>
Gets or sets the duration in seconds for the keyboard show animation. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingNumberKeyboard.DeadZone">
<summary>
Gets or sets the maximum opacity for a fully displayed keyboard. This is a dependency property.
</summary>
</member>
<member name="M:WpfKb.Controls.FloatingNumberKeyboard.InitializeComponent">
<summary>
InitializeComponent
</summary>
</member>
<member name="T:WpfKb.Controls.FloatingTouchScreenKeyboard">
<summary>
FloatingTouchScreenKeyboard
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingTouchScreenKeyboard.AreAnimationsEnabled">
<summary>
Gets or sets a value indicating whether animations are enabled.
</summary>
<value>
<c>true</c> if animations are enabled; otherwise, <c>false</c>.
</value>
</member>
<member name="P:WpfKb.Controls.FloatingTouchScreenKeyboard.IsAllowedToFade">
<summary>
Gets or sets a value that indicates whether the Keyboard is allowed to fade. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingTouchScreenKeyboard.IsDragging">
<summary>
Gets a value that indicates if the keyboard is currently being dragged. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingTouchScreenKeyboard.IsDragHelperAllowedToHide">
<summary>
Gets or sets a value that indicates if the drag helper text is allowed to hide. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingTouchScreenKeyboard.IsKeyboardShown">
<summary>
Gets a value that indicates that the keyboard is shown (not faded). This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingTouchScreenKeyboard.MaximumKeyboardOpacity">
<summary>
Gets or sets the maximum opacity for a fully displayed keyboard. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingTouchScreenKeyboard.MinimumKeyboardOpacity">
<summary>
Gets or sets the opacity to use for a partially hidden keyboard. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingTouchScreenKeyboard.KeyboardHideDelay">
<summary>
Gets or sets the number of seconds to wait after the last keyboard activity before hiding the keyboard. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingTouchScreenKeyboard.KeyboardHideAnimationDuration">
<summary>
Gets or sets the duration in seconds for the keyboard hide animation. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingTouchScreenKeyboard.KeyboardShowAnimationDuration">
<summary>
Gets or sets the duration in seconds for the keyboard show animation. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingTouchScreenKeyboard.DeadZone">
<summary>
Gets or sets the maximum opacity for a fully displayed keyboard. This is a dependency property.
</summary>
</member>
<member name="M:WpfKb.Controls.FloatingTouchScreenKeyboard.InitializeComponent">
<summary>
InitializeComponent
</summary>
</member>
<member name="T:WpfKb.Properties.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:WpfKb.Properties.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:WpfKb.Properties.Resources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member>
<member name="T:XamlGeneratedNamespace.GeneratedInternalTypeHelper">
<summary>
GeneratedInternalTypeHelper
</summary>
</member>
<member name="M:XamlGeneratedNamespace.GeneratedInternalTypeHelper.CreateInstance(System.Type,System.Globalization.CultureInfo)">
<summary>
CreateInstance
</summary>
</member>
<member name="M:XamlGeneratedNamespace.GeneratedInternalTypeHelper.GetPropertyValue(System.Reflection.PropertyInfo,System.Object,System.Globalization.CultureInfo)">
<summary>
GetPropertyValue
</summary>
</member>
<member name="M:XamlGeneratedNamespace.GeneratedInternalTypeHelper.SetPropertyValue(System.Reflection.PropertyInfo,System.Object,System.Object,System.Globalization.CultureInfo)">
<summary>
SetPropertyValue
</summary>
</member>
<member name="M:XamlGeneratedNamespace.GeneratedInternalTypeHelper.CreateDelegate(System.Type,System.Object,System.String)">
<summary>
CreateDelegate
</summary>
</member>
<member name="M:XamlGeneratedNamespace.GeneratedInternalTypeHelper.AddEventHandler(System.Reflection.EventInfo,System.Object,System.Delegate)">
<summary>
AddEventHandler
</summary>
</member>
</members>
</doc>
<?xml version="1.0"?>
<doc>
<assembly>
<name>WpfKb</name>
</assembly>
<members>
<member name="T:WpfKb.Controls.FloatingNumberKeyboard">
<summary>
FloatingNumberKeyboard
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingNumberKeyboard.AreAnimationsEnabled">
<summary>
Gets or sets a value indicating whether animations are enabled.
</summary>
<value>
<c>true</c> if animations are enabled; otherwise, <c>false</c>.
</value>
</member>
<member name="P:WpfKb.Controls.FloatingNumberKeyboard.IsAllowedToFade">
<summary>
Gets or sets a value that indicates whether the Keyboard is allowed to fade. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingNumberKeyboard.IsDragging">
<summary>
Gets a value that indicates if the keyboard is currently being dragged. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingNumberKeyboard.IsDragHelperAllowedToHide">
<summary>
Gets or sets a value that indicates if the drag helper text is allowed to hide. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingNumberKeyboard.IsKeyboardShown">
<summary>
Gets a value that indicates that the keyboard is shown (not faded). This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingNumberKeyboard.MaximumKeyboardOpacity">
<summary>
Gets or sets the maximum opacity for a fully displayed keyboard. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingNumberKeyboard.MinimumKeyboardOpacity">
<summary>
Gets or sets the opacity to use for a partially hidden keyboard. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingNumberKeyboard.KeyboardHideDelay">
<summary>
Gets or sets the number of seconds to wait after the last keyboard activity before hiding the keyboard. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingNumberKeyboard.KeyboardHideAnimationDuration">
<summary>
Gets or sets the duration in seconds for the keyboard hide animation. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingNumberKeyboard.KeyboardShowAnimationDuration">
<summary>
Gets or sets the duration in seconds for the keyboard show animation. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingNumberKeyboard.DeadZone">
<summary>
Gets or sets the maximum opacity for a fully displayed keyboard. This is a dependency property.
</summary>
</member>
<member name="M:WpfKb.Controls.FloatingNumberKeyboard.InitializeComponent">
<summary>
InitializeComponent
</summary>
</member>
<member name="T:WpfKb.Controls.FloatingTouchScreenKeyboard">
<summary>
FloatingTouchScreenKeyboard
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingTouchScreenKeyboard.AreAnimationsEnabled">
<summary>
Gets or sets a value indicating whether animations are enabled.
</summary>
<value>
<c>true</c> if animations are enabled; otherwise, <c>false</c>.
</value>
</member>
<member name="P:WpfKb.Controls.FloatingTouchScreenKeyboard.IsAllowedToFade">
<summary>
Gets or sets a value that indicates whether the Keyboard is allowed to fade. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingTouchScreenKeyboard.IsDragging">
<summary>
Gets a value that indicates if the keyboard is currently being dragged. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingTouchScreenKeyboard.IsDragHelperAllowedToHide">
<summary>
Gets or sets a value that indicates if the drag helper text is allowed to hide. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingTouchScreenKeyboard.IsKeyboardShown">
<summary>
Gets a value that indicates that the keyboard is shown (not faded). This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingTouchScreenKeyboard.MaximumKeyboardOpacity">
<summary>
Gets or sets the maximum opacity for a fully displayed keyboard. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingTouchScreenKeyboard.MinimumKeyboardOpacity">
<summary>
Gets or sets the opacity to use for a partially hidden keyboard. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingTouchScreenKeyboard.KeyboardHideDelay">
<summary>
Gets or sets the number of seconds to wait after the last keyboard activity before hiding the keyboard. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingTouchScreenKeyboard.KeyboardHideAnimationDuration">
<summary>
Gets or sets the duration in seconds for the keyboard hide animation. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingTouchScreenKeyboard.KeyboardShowAnimationDuration">
<summary>
Gets or sets the duration in seconds for the keyboard show animation. This is a dependency property.
</summary>
</member>
<member name="P:WpfKb.Controls.FloatingTouchScreenKeyboard.DeadZone">
<summary>
Gets or sets the maximum opacity for a fully displayed keyboard. This is a dependency property.
</summary>
</member>
<member name="M:WpfKb.Controls.FloatingTouchScreenKeyboard.InitializeComponent">
<summary>
InitializeComponent
</summary>
</member>
<member name="T:WpfKb.Properties.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:WpfKb.Properties.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:WpfKb.Properties.Resources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member>
</members>
</doc>
#pragma checksum "..\..\..\Controls\FloatingNumberKeyboard.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "B3EED131973C9280E118E4BFDB2A4708042BB9B29D436829EAE8A15425E3B2ED"
//------------------------------------------------------------------------------
// <auto-generated>
// Il codice è stato generato da uno strumento.
// Versione runtime:4.0.30319.42000
//
// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
// il codice viene rigenerato.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Interactivity;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using WpfKb;
using WpfKb.Behaviors;
using WpfKb.Controls;
namespace WpfKb.Controls {
/// <summary>
/// FloatingNumberKeyboard
/// </summary>
public partial class FloatingNumberKeyboard : System.Windows.Controls.Primitives.Popup, System.Windows.Markup.IComponentConnector {
#line 9 "..\..\..\Controls\FloatingNumberKeyboard.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal WpfKb.Controls.FloatingNumberKeyboard keyboard;
#line default
#line hidden
#line 16 "..\..\..\Controls\FloatingNumberKeyboard.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid LayoutGrid;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/WpfKb;component/controls/floatingnumberkeyboard.xaml", System.UriKind.Relative);
#line 1 "..\..\..\Controls\FloatingNumberKeyboard.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
return System.Delegate.CreateDelegate(delegateType, this, handler);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.keyboard = ((WpfKb.Controls.FloatingNumberKeyboard)(target));
return;
case 2:
this.LayoutGrid = ((System.Windows.Controls.Grid)(target));
return;
}
this._contentLoaded = true;
}
}
}
#pragma checksum "..\..\..\Controls\FloatingNumberKeyboard.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "B3EED131973C9280E118E4BFDB2A4708042BB9B29D436829EAE8A15425E3B2ED"
//------------------------------------------------------------------------------
// <auto-generated>
// Il codice è stato generato da uno strumento.
// Versione runtime:4.0.30319.42000
//
// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
// il codice viene rigenerato.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Interactivity;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using WpfKb;
using WpfKb.Behaviors;
using WpfKb.Controls;
namespace WpfKb.Controls {
/// <summary>
/// FloatingNumberKeyboard
/// </summary>
public partial class FloatingNumberKeyboard : System.Windows.Controls.Primitives.Popup, System.Windows.Markup.IComponentConnector {
#line 9 "..\..\..\Controls\FloatingNumberKeyboard.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal WpfKb.Controls.FloatingNumberKeyboard keyboard;
#line default
#line hidden
#line 16 "..\..\..\Controls\FloatingNumberKeyboard.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid LayoutGrid;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/WpfKb;component/controls/floatingnumberkeyboard.xaml", System.UriKind.Relative);
#line 1 "..\..\..\Controls\FloatingNumberKeyboard.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
return System.Delegate.CreateDelegate(delegateType, this, handler);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.keyboard = ((WpfKb.Controls.FloatingNumberKeyboard)(target));
return;
case 2:
this.LayoutGrid = ((System.Windows.Controls.Grid)(target));
return;
}
this._contentLoaded = true;
}
}
}
#pragma checksum "..\..\..\Controls\FloatingTouchScreenKeyboard - Copia.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "8186A71BDD5F15F23EA115AE3ADA6545"
//------------------------------------------------------------------------------
// <auto-generated>
// Il codice è stato generato da uno strumento.
// Versione runtime:4.0.30319.34209
//
// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
// il codice viene rigenerato.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Interactivity;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using WpfKb;
using WpfKb.Behaviors;
using WpfKb.Controls;
namespace WpfKb.Controls {
/// <summary>
/// FloatingTouchScreenKeyboard
/// </summary>
public partial class FloatingTouchScreenKeyboard : System.Windows.Controls.Primitives.Popup, System.Windows.Markup.IComponentConnector {
#line 9 "..\..\..\Controls\FloatingTouchScreenKeyboard - Copia.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal WpfKb.Controls.FloatingTouchScreenKeyboard keyboard;
#line default
#line hidden
#line 16 "..\..\..\Controls\FloatingTouchScreenKeyboard - Copia.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid LayoutGrid;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/WpfKb;component/controls/floatingtouchscreenkeyboard%20-%20copia.xaml", System.UriKind.Relative);
#line 1 "..\..\..\Controls\FloatingTouchScreenKeyboard - Copia.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
return System.Delegate.CreateDelegate(delegateType, this, handler);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.keyboard = ((WpfKb.Controls.FloatingTouchScreenKeyboard)(target));
return;
case 2:
this.LayoutGrid = ((System.Windows.Controls.Grid)(target));
return;
}
this._contentLoaded = true;
}
}
}
#pragma checksum "..\..\..\Controls\FloatingTouchScreenKeyboard.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "3EE5D98F3DE4728CB24FA14735E95145B8908A02DE932F68866D9B34DCC20A03"
//------------------------------------------------------------------------------
// <auto-generated>
// Il codice è stato generato da uno strumento.
// Versione runtime:4.0.30319.42000
//
// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
// il codice viene rigenerato.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Interactivity;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using WpfKb;
using WpfKb.Behaviors;
using WpfKb.Controls;
namespace WpfKb.Controls {
/// <summary>
/// FloatingTouchScreenKeyboard
/// </summary>
public partial class FloatingTouchScreenKeyboard : System.Windows.Controls.Primitives.Popup, System.Windows.Markup.IComponentConnector {
#line 9 "..\..\..\Controls\FloatingTouchScreenKeyboard.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal WpfKb.Controls.FloatingTouchScreenKeyboard keyboard;
#line default
#line hidden
#line 16 "..\..\..\Controls\FloatingTouchScreenKeyboard.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid LayoutGrid;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/WpfKb;component/controls/floatingtouchscreenkeyboard.xaml", System.UriKind.Relative);
#line 1 "..\..\..\Controls\FloatingTouchScreenKeyboard.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
return System.Delegate.CreateDelegate(delegateType, this, handler);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.keyboard = ((WpfKb.Controls.FloatingTouchScreenKeyboard)(target));
return;
case 2:
this.LayoutGrid = ((System.Windows.Controls.Grid)(target));
return;
}
this._contentLoaded = true;
}
}
}
#pragma checksum "..\..\..\Controls\FloatingTouchScreenKeyboard.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "3EE5D98F3DE4728CB24FA14735E95145B8908A02DE932F68866D9B34DCC20A03"
//------------------------------------------------------------------------------
// <auto-generated>
// Il codice è stato generato da uno strumento.
// Versione runtime:4.0.30319.42000
//
// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
// il codice viene rigenerato.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Interactivity;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using WpfKb;
using WpfKb.Behaviors;
using WpfKb.Controls;
namespace WpfKb.Controls {
/// <summary>
/// FloatingTouchScreenKeyboard
/// </summary>
public partial class FloatingTouchScreenKeyboard : System.Windows.Controls.Primitives.Popup, System.Windows.Markup.IComponentConnector {
#line 9 "..\..\..\Controls\FloatingTouchScreenKeyboard.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal WpfKb.Controls.FloatingTouchScreenKeyboard keyboard;
#line default
#line hidden
#line 16 "..\..\..\Controls\FloatingTouchScreenKeyboard.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid LayoutGrid;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/WpfKb;component/controls/floatingtouchscreenkeyboard.xaml", System.UriKind.Relative);
#line 1 "..\..\..\Controls\FloatingTouchScreenKeyboard.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
return System.Delegate.CreateDelegate(delegateType, this, handler);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.keyboard = ((WpfKb.Controls.FloatingTouchScreenKeyboard)(target));
return;
case 2:
this.LayoutGrid = ((System.Windows.Controls.Grid)(target));
return;
}
this._contentLoaded = true;
}
}
}
16e6a12ae2ec8661ec70c57f5b5c38fc12a21470
//------------------------------------------------------------------------------
// <auto-generated>
// Il codice è stato generato da uno strumento.
// Versione runtime:4.0.30319.42000
//
// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
// il codice viene rigenerato.
// </auto-generated>
//------------------------------------------------------------------------------
namespace XamlGeneratedNamespace {
/// <summary>
/// GeneratedInternalTypeHelper
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
/// <summary>
/// CreateInstance
/// </summary>
protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic)
| (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
}
/// <summary>
/// GetPropertyValue
/// </summary>
protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
}
/// <summary>
/// SetPropertyValue
/// </summary>
protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
}
/// <summary>
/// CreateDelegate
/// </summary>
protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod
| (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
delegateType,
handler}, null)));
}
/// <summary>
/// AddEventHandler
/// </summary>
protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
eventInfo.AddEventHandler(target, handler);
}
}
}
//------------------------------------------------------------------------------
// <auto-generated>
// Il codice è stato generato da uno strumento.
// Versione runtime:4.0.30319.42000
//
// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
// il codice viene rigenerato.
// </auto-generated>
//------------------------------------------------------------------------------
namespace XamlGeneratedNamespace {
/// <summary>
/// GeneratedInternalTypeHelper
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
/// <summary>
/// CreateInstance
/// </summary>
protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic)
| (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
}
/// <summary>
/// GetPropertyValue
/// </summary>
protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
}
/// <summary>
/// SetPropertyValue
/// </summary>
protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
}
/// <summary>
/// CreateDelegate
/// </summary>
protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod
| (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
delegateType,
handler}, null)));
}
/// <summary>
/// AddEventHandler
/// </summary>
protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
eventInfo.AddEventHandler(target, handler);
}
}
}
d67d8a7fb4fba3fae3b7d06f7c73455596b2c45d
WpfKb
library
C#
.cs
C:\Sviluppo\Selex\applicativo\Selex\cosicomodo_funzionante_vecchio_WSDL\WpfKb\obj\Debug\
WpfKb
none
false
DEBUG;TRACE
2693275734
241353140742
14-336835339
Controls\FloatingNumberKeyboard.xaml;Controls\FloatingTouchScreenKeyboard.xaml;
False
WpfKb
library
C#
.cs
C:\SVN\Totem\Selex\cosicomodo_loader\WpfKb\obj\Debug\
WpfKb
none
false
DEBUG;TRACE
2693275734
241353140742
141397653682
Controls\FloatingNumberKeyboard.xaml;Controls\FloatingTouchScreenKeyboard.xaml;
False

FC:\Sviluppo\Selex\applicativo\Selex\cosicomodo_funzionante_vecchio_WSDL\WpfKb\Controls\FloatingNumberKeyboard.xaml;;
FC:\Sviluppo\Selex\applicativo\Selex\cosicomodo_funzionante_vecchio_WSDL\WpfKb\Controls\FloatingTouchScreenKeyboard.xaml;;
#pragma checksum "..\..\..\Controls\FloatingNumberKeyboard.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "55A4243F7C2BE5D000D313330B839EB1839A53D7"
//------------------------------------------------------------------------------
// <auto-generated>
// Il codice è stato generato da uno strumento.
// Versione runtime:4.0.30319.42000
//
// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
// il codice viene rigenerato.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Interactivity;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using WpfKb;
using WpfKb.Behaviors;
using WpfKb.Controls;
namespace WpfKb.Controls {
/// <summary>
/// FloatingNumberKeyboard
/// </summary>
public partial class FloatingNumberKeyboard : System.Windows.Controls.Primitives.Popup, System.Windows.Markup.IComponentConnector {
#line 9 "..\..\..\Controls\FloatingNumberKeyboard.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal WpfKb.Controls.FloatingNumberKeyboard keyboard;
#line default
#line hidden
#line 16 "..\..\..\Controls\FloatingNumberKeyboard.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid LayoutGrid;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/WpfKb;component/controls/floatingnumberkeyboard.xaml", System.UriKind.Relative);
#line 1 "..\..\..\Controls\FloatingNumberKeyboard.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
return System.Delegate.CreateDelegate(delegateType, this, handler);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.keyboard = ((WpfKb.Controls.FloatingNumberKeyboard)(target));
return;
case 2:
this.LayoutGrid = ((System.Windows.Controls.Grid)(target));
return;
}
this._contentLoaded = true;
}
}
}
#pragma checksum "..\..\..\Controls\FloatingNumberKeyboard.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "55A4243F7C2BE5D000D313330B839EB1839A53D7"
//------------------------------------------------------------------------------
// <auto-generated>
// Il codice è stato generato da uno strumento.
// Versione runtime:4.0.30319.42000
//
// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
// il codice viene rigenerato.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Interactivity;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using WpfKb;
using WpfKb.Behaviors;
using WpfKb.Controls;
namespace WpfKb.Controls {
/// <summary>
/// FloatingNumberKeyboard
/// </summary>
public partial class FloatingNumberKeyboard : System.Windows.Controls.Primitives.Popup, System.Windows.Markup.IComponentConnector {
#line 9 "..\..\..\Controls\FloatingNumberKeyboard.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal WpfKb.Controls.FloatingNumberKeyboard keyboard;
#line default
#line hidden
#line 16 "..\..\..\Controls\FloatingNumberKeyboard.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid LayoutGrid;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/WpfKb;component/controls/floatingnumberkeyboard.xaml", System.UriKind.Relative);
#line 1 "..\..\..\Controls\FloatingNumberKeyboard.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
return System.Delegate.CreateDelegate(delegateType, this, handler);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.keyboard = ((WpfKb.Controls.FloatingNumberKeyboard)(target));
return;
case 2:
this.LayoutGrid = ((System.Windows.Controls.Grid)(target));
return;
}
this._contentLoaded = true;
}
}
}
#pragma checksum "..\..\..\Controls\FloatingTouchScreenKeyboard - Copia.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "8186A71BDD5F15F23EA115AE3ADA6545"
//------------------------------------------------------------------------------
// <auto-generated>
// Il codice è stato generato da uno strumento.
// Versione runtime:4.0.30319.34209
//
// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
// il codice viene rigenerato.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Interactivity;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using WpfKb;
using WpfKb.Behaviors;
using WpfKb.Controls;
namespace WpfKb.Controls {
/// <summary>
/// FloatingTouchScreenKeyboard
/// </summary>
public partial class FloatingTouchScreenKeyboard : System.Windows.Controls.Primitives.Popup, System.Windows.Markup.IComponentConnector {
#line 9 "..\..\..\Controls\FloatingTouchScreenKeyboard - Copia.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal WpfKb.Controls.FloatingTouchScreenKeyboard keyboard;
#line default
#line hidden
#line 16 "..\..\..\Controls\FloatingTouchScreenKeyboard - Copia.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid LayoutGrid;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/WpfKb;component/controls/floatingtouchscreenkeyboard%20-%20copia.xaml", System.UriKind.Relative);
#line 1 "..\..\..\Controls\FloatingTouchScreenKeyboard - Copia.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
return System.Delegate.CreateDelegate(delegateType, this, handler);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.keyboard = ((WpfKb.Controls.FloatingTouchScreenKeyboard)(target));
return;
case 2:
this.LayoutGrid = ((System.Windows.Controls.Grid)(target));
return;
}
this._contentLoaded = true;
}
}
}
#pragma checksum "..\..\..\Controls\FloatingTouchScreenKeyboard.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "FCA5FD1D26B7085D61646C11110E41BBB10E67EA"
//------------------------------------------------------------------------------
// <auto-generated>
// Il codice è stato generato da uno strumento.
// Versione runtime:4.0.30319.42000
//
// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
// il codice viene rigenerato.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Interactivity;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using WpfKb;
using WpfKb.Behaviors;
using WpfKb.Controls;
namespace WpfKb.Controls {
/// <summary>
/// FloatingTouchScreenKeyboard
/// </summary>
public partial class FloatingTouchScreenKeyboard : System.Windows.Controls.Primitives.Popup, System.Windows.Markup.IComponentConnector {
#line 9 "..\..\..\Controls\FloatingTouchScreenKeyboard.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal WpfKb.Controls.FloatingTouchScreenKeyboard keyboard;
#line default
#line hidden
#line 16 "..\..\..\Controls\FloatingTouchScreenKeyboard.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid LayoutGrid;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/WpfKb;component/controls/floatingtouchscreenkeyboard.xaml", System.UriKind.Relative);
#line 1 "..\..\..\Controls\FloatingTouchScreenKeyboard.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
return System.Delegate.CreateDelegate(delegateType, this, handler);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.keyboard = ((WpfKb.Controls.FloatingTouchScreenKeyboard)(target));
return;
case 2:
this.LayoutGrid = ((System.Windows.Controls.Grid)(target));
return;
}
this._contentLoaded = true;
}
}
}
#pragma checksum "..\..\..\Controls\FloatingTouchScreenKeyboard.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "FCA5FD1D26B7085D61646C11110E41BBB10E67EA"
//------------------------------------------------------------------------------
// <auto-generated>
// Il codice è stato generato da uno strumento.
// Versione runtime:4.0.30319.42000
//
// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
// il codice viene rigenerato.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Interactivity;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using WpfKb;
using WpfKb.Behaviors;
using WpfKb.Controls;
namespace WpfKb.Controls {
/// <summary>
/// FloatingTouchScreenKeyboard
/// </summary>
public partial class FloatingTouchScreenKeyboard : System.Windows.Controls.Primitives.Popup, System.Windows.Markup.IComponentConnector {
#line 9 "..\..\..\Controls\FloatingTouchScreenKeyboard.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal WpfKb.Controls.FloatingTouchScreenKeyboard keyboard;
#line default
#line hidden
#line 16 "..\..\..\Controls\FloatingTouchScreenKeyboard.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid LayoutGrid;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/WpfKb;component/controls/floatingtouchscreenkeyboard.xaml", System.UriKind.Relative);
#line 1 "..\..\..\Controls\FloatingTouchScreenKeyboard.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
return System.Delegate.CreateDelegate(delegateType, this, handler);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.keyboard = ((WpfKb.Controls.FloatingTouchScreenKeyboard)(target));
return;
case 2:
this.LayoutGrid = ((System.Windows.Controls.Grid)(target));
return;
}
this._contentLoaded = true;
}
}
}
4845adc0b7ec08e15ed49ad5692c49c12df33591
//------------------------------------------------------------------------------
// <auto-generated>
// Il codice è stato generato da uno strumento.
// Versione runtime:4.0.30319.42000
//
// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
// il codice viene rigenerato.
// </auto-generated>
//------------------------------------------------------------------------------
namespace XamlGeneratedNamespace {
/// <summary>
/// GeneratedInternalTypeHelper
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
/// <summary>
/// CreateInstance
/// </summary>
protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic)
| (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
}
/// <summary>
/// GetPropertyValue
/// </summary>
protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
}
/// <summary>
/// SetPropertyValue
/// </summary>
protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
}
/// <summary>
/// CreateDelegate
/// </summary>
protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod
| (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
delegateType,
handler}, null)));
}
/// <summary>
/// AddEventHandler
/// </summary>
protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
eventInfo.AddEventHandler(target, handler);
}
}
}
d7e4f3024a7fa43e4b5f1db315881e5ad166c873
WpfKb
library
C#
.cs
C:\SVN\Totem\Selex\cosicomodo_loader\WpfKb\obj\Release\
WpfKb
none
false
TRACE
2693275734
241353140742
1432135664
Controls\FloatingNumberKeyboard.xaml;Controls\FloatingTouchScreenKeyboard.xaml;
False
WpfKb
library
C#
.cs
C:\SVN\Totem\Selex\cosicomodo_loader\WpfKb\obj\Release\
WpfKb
none
false
TRACE
2693275734
241353140742
1432135664
Controls\FloatingNumberKeyboard.xaml;Controls\FloatingTouchScreenKeyboard.xaml;
False
C:\SVN\Totem\Selex\cosicomodo_loader\WpfKb\obj\Release\GeneratedInternalTypeHelper.g.cs
FC:\SVN\Totem\Selex\cosicomodo_loader\WpfKb\Controls\FloatingNumberKeyboard.xaml;;
FC:\SVN\Totem\Selex\cosicomodo_loader\WpfKb\Controls\FloatingTouchScreenKeyboard.xaml;;
This diff is collapsed. Click to expand it.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment