This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Style x:Key="CrossFadeTabControlStyle" | |
TargetType="{x:Type TabControl}" | |
BasedOn="{StaticResource DefaultTabControlStyle}"> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="{x:Type TabControl}"> | |
<Grid | |
x:Name="templateRoot" | |
ClipToBounds="true" | |
KeyboardNavigation.TabNavigation="Local" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class ListViewHelper | |
{ | |
#region SetFixedWidthOnItemsPanel | |
public static bool GetSetFixedWidthOnItemsPanel(ListView element) | |
{ | |
return (bool)element.GetValue(SetFixedWidthOnItemsPanelProperty); | |
} | |
public static void SetSetFixedWidthOnItemsPanel(ListView element, bool value) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Style x:Key="AlphaJumpListItemContainerStyle" TargetType="GridViewItem"> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="GridViewItem"> | |
<Border x:Name="TiltContainer"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="CommonStates"> | |
<VisualState x:Name="Normal" /> | |
<VisualState x:Name="Pressed"> | |
<Storyboard> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<DataTemplate x:Key="TextItemTemplate"> | |
<TextBlock Text="{Binding Line1}" | |
Style="{ThemeResource ListViewItemTextBlockStyle}" | |
Margin="0,2,0,7" /> | |
</DataTemplate> | |
<DataTemplate x:Key="TextPaddedItemTemplate"> | |
<TextBlock Text="{Binding Line1}" | |
Style="{ThemeResource ListViewItemTextBlockStyle}" | |
Margin="0,-3.5,0,30.5" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<x:Double x:Key="PivotHeaderItemFontSize">57.5</x:Double> | |
<x:Int32 x:Key="PivotHeaderItemCharacterSpacing">0</x:Int32> | |
<Thickness x:Key="PivotHeaderItemPadding">3,0,3,0</Thickness> | |
<Thickness x:Key="PivotHeaderItemMargin">16,-7,0,6.5</Thickness> | |
<Thickness x:Key="PivotItemMargin">19,16,19,0</Thickness> | |
<Thickness x:Key="PivotLandscapeThemePadding">19,18.5,0,0</Thickness> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Style x:Key="FullScreenContentDialogStyle" TargetType="ContentDialog"> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="ContentDialog"> | |
<Border x:Name="Container"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup x:Name="Orientation"> | |
<VisualState x:Name="Portrait" /> | |
<VisualState x:Name="Landscape"> | |
<Storyboard> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Diagnostics; | |
using System.Windows; | |
using System.Windows.Controls; | |
using System.Windows.Controls.Primitives; | |
using System.Windows.Media; | |
namespace Kinnara.Phone.Controls | |
{ | |
public sealed class ScrollContent : ContentPresenter | |
{ |