Windows Phone7开发之 基本控件

webphp 13年前
     <p style="text-indent:0px;margin:5px auto;">一.TextBlock:<span style="line-height:19px;font-family:宋体;">这个控件其实就是</span>Label<span style="line-height:19px;font-family:宋体;">控件。</span></p>    <p style="text-indent:0px;margin:5px auto;"><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"><</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">TextBlock</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> x</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">:</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;">Name</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="PageTitle"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Text</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="page name"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Margin</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="-3,-8,0,0"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Style</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="{</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">StaticResource</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> PhoneTextTitle1Style</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">}" </span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;">TextWrapping</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="Wrap"/></span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">Style</span><span style="line-height:19px;font-family:宋体;color:#a31515;font-size:9.5pt;">:设置字体、字色、大小等样式,用</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">StaticResource</span><span style="line-height:19px;font-family:宋体;color:#a31515;font-size:9.5pt;">方式可以绑定预设的样式。</span></p>    <p style="text-indent:0px;margin:5px auto;"><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">TextWrapping</span><span style="line-height:19px;font-family:宋体;color:#a31515;font-size:9.5pt;">:设置是否自动换行。</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;"><br /> Text</span><span style="line-height:19px;font-family:宋体;color:#a31515;font-size:9.5pt;">:在控件上要显示的文字。</span></p>    <p style="text-indent:0px;margin:5px auto;">二.CheckBox:<span style="font:7pt 'Times New Roman';">  </span><span style="line-height:19px;font-family:宋体;">多选控件,通过</span>blend<span style="line-height:19px;font-family:宋体;">工具也可以生成多种效果</span>,<span style="line-height:19px;font-family:宋体;">另外要想将选择框加大,并不是能过设置</span>Width,Height<span style="line-height:19px;font-family:宋体;">来完成的,而是通过</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">RenderTransform</span><span style="line-height:19px;font-family:宋体;color:#a31515;font-size:9.5pt;">的</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">Scale</span><span style="line-height:19px;font-family:宋体;color:#a31515;font-size:9.5pt;">来完成的。</span></p>    <p style="text-indent:0px;margin:5px auto;"><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"><</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">CheckBox</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Content</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="CheckBox1"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Height</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="80"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> HorizontalAlignment</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="Left"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Margin</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="102,113,0,0"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Name</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="checkBox1"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> VerticalAlignment</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="Top"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Width</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="279"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> BorderBrush</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="Red"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Foreground</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="Blue"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Checked</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="checkBox1_Checked"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Background</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="Yellow"/></span></p>    <p style="text-align:left;text-indent:0px;margin:0cm 0cm 0pt 60.75pt;" align="left"><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">   </span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"><</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">CheckBox</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Content</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="CheckBox2"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Height</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="72"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> HorizontalAlignment</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="Left"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Margin</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="148,0,0,346"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Name</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="checkBox2"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> VerticalAlignment</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="Bottom"</span><span style="line-height:19px;font-family:NSimSun;font-size:9.5pt;"> <span style="line-height:19px;color:red;"> Checked</span><span style="line-height:19px;color:blue;">="checkBox2_Checked"</span><span style="line-height:19px;color:red;"> RenderTransformOrigin</span><span style="line-height:19px;color:blue;">="0.5,0.5"</span><span style="line-height:19px;color:red;"> BorderBrush</span><span style="line-height:19px;color:blue;">="#BFFB2200"</span><span style="line-height:19px;color:red;"> Foreground</span><span style="line-height:19px;color:blue;">="#FF1008F7"></span></span></p>    <p style="text-align:left;text-indent:0px;margin:0cm 0cm 0pt 60.75pt;" align="left"><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">                 </span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"><</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">CheckBox.Background</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">></span></p>    <p style="text-align:left;text-indent:0px;margin:0cm 0cm 0pt 60.75pt;" align="left"><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">                          </span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"><</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">LinearGradientBrush</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> EndPoint</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="0.5,1"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> MappingMode</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="RelativeToBoundingBox"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> StartPoint</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="0.5,0"></span></p>    <p style="text-align:left;text-indent:0px;margin:0cm 0cm 0pt 60.75pt;" align="left"><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">                                    </span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"><</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">GradientStop</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Color</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="White"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Offset</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="0.504"/></span></p>    <p style="text-align:left;text-indent:0px;margin:0cm 0cm 0pt 60.75pt;" align="left"><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">                                    </span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"><</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">GradientStop</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Color</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="#FFF7E306"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Offset</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="1"/></span></p>    <p style="text-align:left;text-indent:0px;margin:0cm 0cm 0pt 60.75pt;" align="left"><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">                                    </span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"><</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">GradientStop</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Color</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="#FFF7E306"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Offset</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="0.004"/></span></p>    <p style="text-align:left;text-indent:0px;margin:0cm 0cm 0pt 60.75pt;" align="left"><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">                           </span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"></</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">LinearGradientBrush</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">></span></p>    <p style="text-align:left;text-indent:0px;margin:0cm 0cm 0pt 60.75pt;" align="left"><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">                 </span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"></</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">CheckBox.Background</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">></span></p>    <p style="text-align:left;text-indent:0px;margin:0cm 0cm 0pt 60.75pt;" align="left"><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">                 </span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"><</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">CheckBox.RenderTransform</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">></span></p>    <p style="text-align:left;text-indent:0px;margin:0cm 0cm 0pt 60.75pt;" align="left"><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">                          </span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"><</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">CompositeTransform</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> ScaleX</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="2"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> ScaleY</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="2"/></span></p>    <p style="text-align:left;text-indent:0px;margin:0cm 0cm 0pt 60.75pt;" align="left"><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">                 </span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"></</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">CheckBox.RenderTransform</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">></span></p>    <p style="text-align:left;text-indent:0px;margin:0cm 0cm 0pt 60.75pt;" align="left"><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">            </span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"></</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">CheckBox</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">></span></p>    <p style="text-indent:0px;margin:5px auto;"> </p>    <p style="text-indent:0px;margin:5px auto;">三.RadioButton:<span style="line-height:19px;font-family:宋体;">单选按钮。当有多个在一起时,可以自动互斥。与多选控件一样,要想使控件变大,需要使用</span>Transform scale<span style="line-height:19px;font-family:宋体;">来实现。</span></p>    <p style="text-align:left;text-indent:0px;margin:0cm 0cm 0pt 42pt;" align="left"><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"><</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">RadioButton</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Content</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="RadioButton1"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Grid.Row</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="1"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Height</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="72"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> HorizontalAlignment</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="Left"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Margin</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="84,79,0,0"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Name</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="radioButton1"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> VerticalAlignment</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="Top"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Width</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="294" /></span></p>    <p style="text-align:left;text-indent:0px;margin:0cm 0cm 0pt 42pt;" align="left"><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"><</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">RadioButton</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Content</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="RadioButton2"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Grid.Row</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="1"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Height</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="72"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> HorizontalAlignment</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="Left"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Margin</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="84,183,0,0"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Name</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="radioButton2"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> VerticalAlignment</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="Top" /></span></p>    <p style="text-align:left;text-indent:0px;margin:0cm 0cm 0pt 52.5pt;" align="left"><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"><</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">RadioButton</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Content</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="RadioButton3"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Grid.Row</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="1"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Height</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="72"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> HorizontalAlignment</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="Left"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Margin</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="84,299,0,0"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Name</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="radioButton3"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> VerticalAlignment</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="Top" /></span></p>    <p style="text-align:left;text-indent:0px;margin:0cm 0cm 0pt 52.5pt;" align="left"> </p>    <p style="text-indent:0px;margin:5px auto;">四.ProgressBar:<span style="font:7pt 'Times New Roman';">  </span><span style="line-height:19px;font-family:宋体;">进度条控件。有两种形式,一种是显示确切进度的;另一种是不确定的,不断重复。</span></p>    <p style="text-indent:0px;margin:5px auto;"><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"><</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">ProgressBar</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Grid.Row</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="1"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Height</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="71"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> HorizontalAlignment</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="Left"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Margin</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="24,109,0,0"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Name</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="progressBar1"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> VerticalAlignment</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="Top"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Width</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="424"</span><span style="line-height:19px;font-family:NSimSun;font-size:9.5pt;"> <span style="line-height:19px;color:red;"> Value</span><span style="line-height:19px;color:blue;">="80"/></span></span></p>    <p style="text-indent:0px;margin:5px auto;"><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;"> </span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"><</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">ProgressBar</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Grid.Row</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="1"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Height</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="55"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> HorizontalAlignment</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="Left"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Margin</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="36,273,0,0"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Name</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="progressBar2"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> VerticalAlignment</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="Top"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Width</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="412"</span><span style="line-height:19px;font-family:NSimSun;font-size:9.5pt;"> <span style="line-height:19px;color:red;"> IsIndeterminate</span><span style="line-height:19px;color:blue;">="True"/></span></span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;">IsIndeterminate</span><span style="line-height:19px;font-family:宋体;color:red;font-size:9.5pt;">:设置进度条形式,</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;">False:</span><span style="line-height:19px;font-family:宋体;color:red;font-size:9.5pt;">不重复的进度,按</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;">value</span><span style="line-height:19px;font-family:宋体;color:red;font-size:9.5pt;">值变化进度;</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;">True:</span><span style="line-height:19px;font-family:宋体;color:red;font-size:9.5pt;">重复进度条。</span></p>    <p style="text-indent:0px;margin:5px auto;"> </p>    <p style="text-indent:0px;margin:5px auto;">五.Slider:<span style="line-height:19px;font-family:宋体;">滑杆控件。可以设置水平、垂直方向。</span></p>    <p style="text-indent:0px;margin:5px auto;"><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"><</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">Slider</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Grid.Row</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="1"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Height</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="90"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> HorizontalAlignment</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="Left"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Margin</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="20,30,0,0"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Name</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="slider1"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> VerticalAlignment</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="Top"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Width</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="460" /></span></p>    <p style="text-indent:0px;margin:5px auto;"><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"><</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">Slider</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Grid.Row</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="1"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Height</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="390"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> HorizontalAlignment</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="Left"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Margin</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="192,166,0,0"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Name</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="slider2"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> VerticalAlignment</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="Top"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Width</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="59"</span><span style="line-height:19px;font-family:NSimSun;font-size:9.5pt;"> <span style="line-height:19px;color:red;"> Orientation</span><span style="line-height:19px;color:blue;">="Vertical" /></span></span></p>    <p style="text-indent:0px;margin:5px auto;"><span style="line-height:19px;"> </span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">Orientation</span><span style="line-height:19px;font-family:宋体;color:#a31515;font-size:9.5pt;">:设置滑杆方向。</span></p>    <p style="text-indent:0px;margin:5px auto;"><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">IsDirectionReversed</span><span style="line-height:19px;font-family:宋体;color:#a31515;font-size:9.5pt;">:设置</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">Slider</span><span style="line-height:19px;font-family:宋体;color:#a31515;font-size:9.5pt;">控件值的增加方向。</span></p>    <p style="text-indent:0px;margin:5px auto;"><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">Value</span><span style="line-height:19px;font-family:宋体;color:#a31515;font-size:9.5pt;">:设置当前值。</span></p>    <p style="text-indent:0px;margin:5px auto;"> </p>    <p style="text-indent:0px;margin:5px auto;"> 六.PopUp:<span style="font:7pt 'Times New Roman';"> </span><span style="line-height:19px;font-family:宋体;">弹出控件,可以显示到当前页的最前面。这个控件可以用来做自定义的</span>messagebox<span style="line-height:19px;font-family:宋体;">,等待框等。</span></p>    <p style="text-indent:0px;margin:5px auto;"><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"><</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">Popup</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Grid.Row</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="1"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> HorizontalAlignment</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="Left"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Margin</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="109,172,0,0"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Name</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="popup1"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> VerticalAlignment</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="Top"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Height</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="250"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Width</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="250"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> IsOpen</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="True"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Opened</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="popup1_Opened"></span></p>    <p style="text-indent:0px;margin:5px auto;"><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"><</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">Canvas</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Width</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="250"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Height</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="250"</span><span style="line-height:19px;font-family:NSimSun;font-size:9.5pt;"> <span style="line-height:19px;color:red;"> Background</span><span style="line-height:19px;color:blue;">="Red"</span><span style="line-height:19px;color:red;"> VerticalAlignment</span><span style="line-height:19px;color:blue;">="Center"</span><span style="line-height:19px;color:red;"> HorizontalAlignment</span><span style="line-height:19px;color:blue;">="Center"></span></span></p>    <p style="text-align:left;text-indent:0px;margin:0cm 0cm 0pt 60.75pt;" align="left"><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;"> </span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"><</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">TextBlock</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Margin</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="90,120,0,0"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;"> Text</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">="</span><span style="line-height:19px;font-family:宋体;color:blue;font-size:9.5pt;">请等待......"</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">></span></p>    <p style="text-align:left;text-indent:0px;margin:0cm 0cm 0pt 60.75pt;" align="left"><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;"> </span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"></</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">Canvas</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">></span></p>    <p style="text-align:left;text-indent:33.25pt;margin:5px auto;" align="left"><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">    </span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;"></</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;">Popup</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;">></span></p>    <p style="text-align:left;text-indent:33.25pt;margin:5px auto;" align="left"> </p>    <p style="text-indent:0px;margin:5px auto;"> 七.Thumb:<span style="line-height:19px;font-family:宋体;">这个控件可以通过拖动,获取连续的坐标(有点儿像笔记本上的触摸板),从而和其他控件组合使用来产生控件拖动效果。</span></p>    <p style="text-indent:0px;margin:5px auto;"><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;" lang="EN-US"><</span><span style="line-height:19px;font-family:NSimSun;color:#a31515;font-size:9.5pt;" lang="EN-US">Thumb</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;" lang="EN-US"> Grid.Row</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;" lang="EN-US">="1"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;" lang="EN-US"> Height</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;" lang="EN-US">="125"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;" lang="EN-US"> HorizontalAlignment</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;" lang="EN-US">="Left"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;" lang="EN-US"> Margin</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;" lang="EN-US">="154,99,0,0"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;" lang="EN-US"> Name</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;" lang="EN-US">="thumb1"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;" lang="EN-US"> VerticalAlignment</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;" lang="EN-US">="Top"</span><span style="line-height:19px;font-family:NSimSun;color:red;font-size:9.5pt;" lang="EN-US"> Width</span><span style="line-height:19px;font-family:NSimSun;color:blue;font-size:9.5pt;" lang="EN-US">="190"</span><span style="line-height:19px;font-family:NSimSun;font-size:9.5pt;" lang="EN-US"> <span style="line-height:19px;color:red;"><span style="line-height:19px;"> </span>DragDelta</span><span style="line-height:19px;color:blue;">="thumb1_DragDelta"</span><span style="line-height:19px;color:red;"> DragCompleted</span><span style="line-height:19px;color:blue;">="thumb1_DragCompleted"</span><span style="line-height:19px;color:red;"> DragStarted</span><span style="line-height:19px;color:blue;">="thumb1_DragStarted"/></span></span></p>    <p style="text-indent:0px;margin:5px auto;"> </p>    <p style="text-indent:0px;margin:5px auto;">八.MultiScaleImage:<span style="line-height:21px;font-family:宋体;font-size:10.5pt;">这个控件主要用来实现</span><span style="line-height:21px;font-family:Calibri,sans-serif;font-size:10.5pt;" lang="EN-US">DeepZoom</span><span style="line-height:21px;font-family:宋体;font-size:10.5pt;">功能,可以</span><span style="line-height:21px;font-family:宋体;color:black;font-size:10.5pt;">很方便的缩放你的图片,这些图片可以在</span><span style="line-height:21px;font-family:ˎ̥,serif;color:black;font-size:10.5pt;" lang="EN-US">Silverlight</span><span style="line-height:21px;font-family:宋体;color:black;font-size:10.5pt;">提供的巨大的虚拟空间上绘制出来。</span><span style="line-height:21px;font-family:宋体;font-size:10.5pt;">常用在地图的显示上,以及多图片的预览。</span></p>