<ListView
ScrollViewer.HorizontalScrollMode="Enabled"
- Nov 10 Sun 2013 01:37
Windows Store app C# ListView 水平捲動
- Nov 10 Sun 2013 00:37
Windows Store app C# 偵測影片是否正在播放
- Nov 10 Sun 2013 00:05
Windows Store app C# 影片縮放
Windows 市集 APP, MediaElement Stretch屬性無法使用,這時候在Google找到了一個解決方法,使用ViewBox來進行縮放,並將原本套用在MediaElement上面的Margin相關排版的屬性放在ViewBox上面,就可以達到相同位置但是又能縮放影片的效果
- Nov 07 Thu 2013 15:29
C# Uri Decode
C# WPF/WinForm Uri Decode
- Nov 06 Wed 2013 15:53
[WPF] C# 產生DataTemplate
FrameworkElementFactory wrapElement = new FrameworkElementFactory(typeof(WrapPanel)); ItemsPanelTemplate itemPanelDataTemplate = new ItemsPanelTemplate(wrapElement); itemPanelDataTemplate.VisualTree = wrapElement; myListbox = new ListBox() { Opacity = 1, Visibility = System.Windows.Visibility.Visible, Height = double.NaN, Width = double.NaN, ItemsPanel = itemPanelDataTemplate, Background = null, Foreground = null, BorderBrush = null, VerticalAlignment = VerticalAlignment.Bottom, HorizontalAlignment = HorizontalAlignment.Center, Margin = new Thickness(0, 0, 30, 0) };