Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Windows Presentation Foundation
|
Windows Presentation Foundation Discussion of the beta version of Windows Presentation Foundation "WPF" formerly know as codename "Avalon" as well as the related XAML.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Windows Presentation Foundation section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 20th, 2007, 01:31 PM
Registered User
 
Join Date: Jun 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to pbhupal Send a message via Yahoo to pbhupal
Default code for in-place Tablet PC Input Panel icon

code help for Window1.xaml.cs file would be appreciated (newbie):

I would like to know how to add The floating in-place
Tablet PC Input Panel icon to the textbox controls?

The following is in my Windows1.xaml:
<Window x:Class="ExpenseIt.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="ExpenseIt" Height="300" Width="300"
    >
    <Grid>
    <TextBox Height="26" Margin="92,4,100,0" Name="textName" VerticalAlignment="Top"></TextBox>
    <PasswordBox Height="26" Margin="89,69,103,0" Name="txtpassword" VerticalAlignment="Top" />
    <Label Height="23.2766666666667" HorizontalAlignment="Left" Margin="15.37,7.72333333333333,0,0" Name="Label1" VerticalAlignment="Top" Width="43.63">Name</Label>
    <Label Height="23.2766666666667" HorizontalAlignment="Left" Margin="10.37,75.7233333333333,0,0" Name="label2" VerticalAlignment="Top" Width="68.63">Password</Label>
    <TextBox Height="26" Margin="92,0,100,93" Name="txtBox1" VerticalAlignment="Bottom"></TextBox>
    <Label Height="23.2766666666666" HorizontalAlignment="Left" Margin="24.37,0,0,97" Name="label3" VerticalAlignment="Bottom" Width="35.63">Text</Label>
  </Grid>
</Window>

The following is the code in Window1.xaml.cs:
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace LearnIt
{
    /// <summary>
    /// Interaction logic for Window1.xaml
    /// </summary>

    public partial class Window1 : System.Windows.Window
    {
        public Window1()
        {
            InitializeComponent();
        }
    }
}

Thanks for all your help,
Paul





Similar Threads
Thread Thread Starter Forum Replies Last Post
Where do I place the code? dotnetDeveloper ASP.NET 2.0 Basics 1 August 7th, 2008 01:06 PM
Write .NET code in .ZIP File in place of .aspx savan_thakkar ASP.NET 1.0 and 1.1 Professional 3 November 2nd, 2006 08:28 AM
ViewState problem when adding a panel to a panel koekie17 C# 3 February 20th, 2006 09:17 AM
Input Panel matt.fields VB Components 3 November 13th, 2003 10:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.