日韩天天综合网_野战两个奶头被亲到高潮_亚洲日韩欧美精品综合_av女人天堂污污污_视频一区**字幕无弹窗_国产亚洲欧美小视频_国内性爱精品在线免费视频_国产一级电影在线播放_日韩欧美内地福利_亚洲一二三不卡片区

用Xaml做網(wǎng)頁框架(4)_.Net教程

編輯Tag賺U幣
教程Tag:暫無Tag,歡迎添加,賺取U幣!

推薦:校內(nèi)網(wǎng)API的.net版本XiaoNei.Net 1.0(非官方)
校內(nèi)API開放也有一段時間了,也沒有太關(guān)注,正好新版本的SNS開發(fā)到了API這一塊,正好借鑒一下XiaoNei,F(xiàn)B,MySpace的API。 且聞校內(nèi)API比較有前途,最近的API編程大賽也比較火,而且人氣也較

下面兩圖分別是設(shè)計效果和實際效果:

至此我們完成了基本的框架設(shè)計,現(xiàn)在設(shè)計視圖中的效果如下:

到目前為止的全部代碼:

以下為引用的內(nèi)容:
<Page

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

WindowTitle="MailMail"

FontFamily="微軟雅黑"

Background="#FF424242"

SnapsToDevicePixels="True">

<Page.Resources>

<ResourceDictionary>

<ResourceDictionary.MergedDictionaries>

<ResourceDictionary Source="back.xaml"/>

</ResourceDictionary.MergedDictionaries>

</ResourceDictionary>

</Page.Resources>

<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">

<Grid MinHeight="900" MinWidth="1000" Background="{StaticResource back}">

<Grid.ColumnDefinitions>

<ColumnDefinition Width="8*"/>

<ColumnDefinition Width="84*"/>

<ColumnDefinition Width="8*"/>

</Grid.ColumnDefinitions>

<Rectangle Width="20" Grid.Column="0" HorizontalAlignment="Right" Margin="0,0,0,0">

<Rectangle.Fill>

<LinearGradientBrush StartPoint="1,0" EndPoint="0,0">

<GradientStop Color="#00000000" Offset="1" />

<GradientStop Color="#20000000" Offset="0" />

</LinearGradientBrush>

</Rectangle.Fill>

</Rectangle>

<Rectangle Width="20" Grid.Column="3" HorizontalAlignment="Left" Margin="0,0,0,0">

<Rectangle.Fill>

<LinearGradientBrush StartPoint="1,0" EndPoint="0,0">

<GradientStop Color="#00000000" Offset="0" />

<GradientStop Color="#20000000" Offset="1" />

</LinearGradientBrush>

</Rectangle.Fill>

</Rectangle>

<DockPanel Background="#FFF" Grid.Column="1">

<DockPanel x:Name="Head" DockPanel.Dock="Top" Background="#FF4A4A4A" Height="115"></DockPanel>

<Border x:Name="HeadLine" Background="#888" BorderThickness="0,1" DockPanel.Dock="Top" Height="15"></Border>

<Grid x:Name="Show" Background="#EEE" DockPanel.Dock="Top" Height="135" ClipToBounds="True"></Grid>

<Border x:Name="Channel" DockPanel.Dock="Top" Height="50" Background="#FF8E45" BorderThickness="0,1,0,0" BorderBrush="#FFF"></Border>

<Border x:Name="Footer" Background="#666" BorderBrush="#888" BorderThickness="0,4,0,0" DockPanel.Dock="Bottom" Height="55"></Border>

<DockPanel x:Name="Body" Background="#FFFFFCD1">

<DockPanel x:Name="Side" Background="#1E874900" DockPanel.Dock="Right" Width="245"></DockPanel>

<StackPanel x:Name="Content"></StackPanel>

</DockPanel>

</DockPanel>

</Grid>

</ScrollViewer>

</Page>


本篇至此結(jié)束,在后續(xù)的篇章中將繼續(xù)講解頁面主體中各個區(qū)塊的制作。

文中如有不妥的地方,歡迎隨時指正,我不介意聽到異議,分歧是交流和進步的開始,我也有太多東西需要向各位學(xué)習(xí):)

分享:Asp.net Mvc Framework可以在Controller中使用的Url.Action方法
原本的Url.Action方法是利用RouteCollection來實現(xiàn)Url的Routing的。 所以這里用一個擴展方法重現(xiàn)一下 以下為引用的內(nèi)容:

共4頁上一頁1234下一頁
來源:模板無憂//所屬分類:.Net教程/更新時間:2008-08-22
相關(guān).Net教程