"XAML"中“telerik:RadWindow”窗口
问题一:"XAML"中“telerik:RadWindow”窗口是什么窗口,是什么控件呢???
问题二:在“ExpressbionBlend”中怎样设置该窗口为半透明呢???
<telerik:RadWindow x:Name="radwindows_Parms" Header="参数设置" VerticalAlignment="Top" HorizontalAlignment="Center" IsHeaderHitTestVisible="True" WindowStartupLocation="CenterScreen" d:IsLocked="True" >
<Border BorderThickness="2" BorderBrush="Black" Margin="5">
<StackPanel Orientation="Vertical" Margin="5" VerticalAlignment="Top" HorizontalAlignment="Left">
<StackPanel Orientation="Horizontal" Margin="5">
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
<TextBlock Text="① Chart类型:" VerticalAlignment="Center"/>
<ComboBox x:Name="mycombobox" Margin="5" />
</StackPanel>
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="5" >
<TextBlock Text="② "/>
<CheckBox Content="参考线" VerticalAlignment="Center" HorizontalAlignment="Center" Checked="IslineChange_Checked" Unchecked="CheckBox_Unchecked"/>
<CheckBox x:Name="Is3D" Content="3D" VerticalAlignment="Center" HorizontalAlignment="Center" Checked="Is3D_Checked" Unchecked="Is3D_Unchecked"/>
<CheckBox Content="ZooM" VerticalAlignment="Center" HorizontalAlignment="Center" Checked="IsZoomChange_Checked" Unchecked="IsZoomChange_Unchecked"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="5">
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
<TextBlock Text="③主题:" VerticalAlignment="Center"/>
<ComboBox x:Name="mycombobox1" Margin="5" />
</StackPanel>
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="5">
<TextBlock Text="④标题:" VerticalAlignment="Center" HorizontalAlignment="Center"/>
<TextBox x:Name="txt_title" Text="新的标题" Width="120"/>
<Button Content="修改" x:Name="btn_titleUpdate" Click="btn_titleUpdate_Click" />
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="5">
<TextBlock Text="⑤趋势线名称:" VerticalAlignment="Center" HorizontalAlignment="Center"/>
<TextBox x:Name="txt_TrendLinesName" Text="警戒线" Width="80"/>
<TextBlock Text="趋势线值:" VerticalAlignment="Center" HorizontalAlignment="Center"/>
<TextBox x:Name="txt_TrendLinesValue" Text="21" Width="40"/>
<TextBlock Text="趋势线Tip:" VerticalAlignment="Center" HorizontalAlignment="Center"/>
<TextBox x:Name="txt_TrendLinesTip" Text="提示信息" Width="60"/>
<RadioButton x:Name="Hradio" Content="平行" GroupName="aa" IsChecked="True" VerticalAlignment="Center"/>
<RadioButton x:Name="Vradio" Content="竖直" GroupName="aa" VerticalAlignment="Center"/>
<Button Content="添加" Click="Button_Click" />
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="5">
<TextBlock Text="⑥实时数据测试:"/>
<Button Content="用电检测" x:Name="btn_updateSource" Click="btn_updateSource_Click" />
<Button Content="用水检测" x:Name="btn_RealShuiwei" Click="btn_RealShuiwei_Click" />
</StackPanel>
</StackPanel>
</Border>
</telerik:RadWindow>
[解决办法]
问题一 你可以看看telerik自带的例子说明 里面有介绍
问题二 窗体的话 直接设置Opacity属性吧
[解决办法]
telerik:RadWindow是第三方控件。
修改的话直接设置Opacity属性就可以。
实际telerik本身有一些自带的的themes其中的Transparent样式就是实现所有控件的半透明效果。
在线的帮助。里面有控件的使用帮助和ExpressbionBlend中修改样式的方法。
http://www.telerik.com/help/silverlight/introduction.html
[解决办法]
你不要把其他的控件包在RADWINDOW的里面 写在外面 然后调整布局 类似于 两个层 radwindow在下面 其他操作控件在上面