The InputBox Style web form .aspx Page
Listing 4-7. The InputBox Style Web Form .aspx Page File
<%@ Page Language="C#"
MasterPageFile="~/MasterPage/ControlsBook2MasterPage.Master"
AutoEventWireup="true" CodeBehind="InputBoxStyle.aspx.cs"
Inherits="ControlsBook2Web.Ch04.InputBoxStyle"
Title="InputBox Style Web Form Demo" %>
<%@ Register TagPrefix="apress" Namespace="ControlsBook2Lib.Ch04"
Assembly="ControlsBook2Lib" %>
Width="14px">4 ID="ChapterTitleLabel" runat="server" Width="360px">
WebControl Base Class and Control Styles
160 CHAPTER 4 ?– T HE WEBCONTROL BASE CLASS AND CONTROL S TYLES
InputBox Style
TextboxText="blank"
Font-Names="Courier New" ForeColor="Red" Font-Italic="True">
Label Style
Off Apply
Font-Name:
Arial Courier New Times New Roman Monotype Corsiva
ForeColor:
Blue Red Black
TextAlign="Left">
TextAlign="Left">
|
Textbox Style
runat="server"> Off Apply
Font-Name: CHAPTER 4 ?– THE WEBCONTROL BASE C LASS AND CONTROL STYLES 161
Arial Courier New Times New Roman Monotype Corsiva
ForeColor:
Blue Red Black
TextAlign="Left">
TextAlign="Left">
|
Width="83px"
OnClick="SetStyleButton_Click">
Listing 4-8.
Pages:
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255