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
<phone:LongListSelector | |
ItemsSource="{Binding}" | |
IsGroupingEnabled="True" | |
HideEmptyGroups="True" | |
LayoutMode="List" | |
toolkit:TiltEffect.IsTiltEnabled="True"> | |
<phone:LongListSelector.ItemTemplate> | |
<DataTemplate> | |
<Grid> | |
<StackPanel Orientation="Horizontal" VerticalAlignment="Center"> |
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
namespace AlternateRows | |
{ | |
using System; | |
using System.Collections.ObjectModel; | |
using System.Windows.Data; | |
using System.Windows.Media; | |
using Microsoft.Phone.Controls; | |
public partial class MainPage : PhoneApplicationPage |
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
<phone:PhoneApplicationPage | |
x:Class="AlternateRows.MainPage" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone" | |
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone" | |
xmlns:alternateRows="clr-namespace:AlternateRows" | |
FontFamily="{StaticResource PhoneFontFamilyNormal}" | |
Foreground="{StaticResource PhoneForegroundBrush}" | |
SupportedOrientations="Portrait" |
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 Windows.UI.Xaml; | |
using Windows.UI.Xaml.Controls; | |
namespace OnlyIn | |
{ | |
public class DebugBuild : ContentControl | |
{ | |
protected override void OnApplyTemplate() | |
{ | |
base.OnApplyTemplate(); |
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
<Page | |
x:Class="MediaDial.MainPage" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
mc:Ignorable="d"> | |
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> | |
<StackPanel Padding="50"> |
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 Windows.UI.Xaml.Controls; | |
namespace OnlyIn | |
{ | |
public class DebugBuild : ContentControl | |
{ | |
protected override void OnApplyTemplate() | |
{ | |
base.OnApplyTemplate(); |
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 BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Running; | |
using System.Linq; | |
namespace IsOneOfBenchmarks | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
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 class AutomatedWizardTestingBase : IDisposable | |
{ | |
protected WindowsDriver<WindowsElement> AppSession { get; private set; } | |
protected AutomatedWizardTestingBase() | |
{ | |
CheckWinAppDriverInstalled(); | |
StartWinAppDriverIfNotRunning(); | |
} |
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; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Running; |
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 class GridLines : DependencyObject | |
{ | |
public static readonly DependencyProperty AreVisibleProperty = | |
DependencyProperty.RegisterAttached( | |
"AreVisible", | |
typeof(Boolean), | |
typeof(GridLines), | |
new PropertyMetadata(false, OnPropertyChanged) | |
); |