<commit_before>﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:controls="using:HelixToolkit.UWP"
    xmlns:controls1="using:HelixToolkit.UWP.Controls"
    xmlns:converters="using:HelixToolkit.UWP.Converters"
    xmlns:local="using:HelixToolkit.UWP.Themes">
    <converters:BoolToVisibilityConverter x:Key="boolToVisibilityConverter" />
    <converters:EmptyStringToVisibilityConverter x:Key="emptyStringToVisibilityConverter" />
    <local:HelixItemsControl
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:local="using:HelixToolkit.UWP.Controls"
        x:Key="helixItemsControl" />

    <Style TargetType="controls:Viewport3DX">
        <Setter Property="Background" Value="White" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="controls:Viewport3DX">
                    <Grid
                        HorizontalAlignment="Stretch"
                        VerticalAlignment="Stretch"
                        Background="{TemplateBinding Background}"
                        ManipulationMode="All"
                        Style="{x:Null}">
                        <controls1:HelixItemsControl>
                            <controls:ViewBoxModel3D
                                x:Name="PART_ViewCube"
                                EnableEdgeClick="{TemplateBinding IsViewCubeEdgeClicksEnabled}"
                                IsRendering="{TemplateBinding ShowViewCube}"
                                ManipulationMode="None"
                                RelativeScreenLocationX="{TemplateBinding ViewCubeHorizontalPosition}"
                                RelativeScreenLocationY="{TemplateBinding ViewCubeVerticalPosition}"
                                SizeScale="{TemplateBinding ViewCubeSize}"
                                UpDirection="{TemplateBinding ModelUpDirection}"
                                ViewBoxTexture="{TemplateBinding ViewCubeTexture}" />
                            <controls:CoordinateSystemModel3D
                                x:Name="PART_CoordinateView"
                                CoordinateSystemLabelX="{TemplateBinding CoordinateSystemLabelX}"
                                CoordinateSystemLabelY="{TemplateBinding CoordinateSystemLabelY}"
                                CoordinateSystemLabelZ="{TemplateBinding CoordinateSystemLabelZ}"
                                IsRendering="{TemplateBinding ShowCoordinateSystem}"
                                LabelColor="{TemplateBinding CoordinateSystemLabelForeground}"
                                ManipulationMode="None"
                                RelativeScreenLocationX="{TemplateBinding CoordinateSystemHorizontalPosition}"
                                RelativeScreenLocationY="{TemplateBinding CoordinateSystemVerticalPosition}"
                                SizeScale="{TemplateBinding CoordinateSystemSize}" />
                        </controls1:HelixItemsControl>
                        <controls1:HelixItemsControl x:Name="PART_ItemsContainer" IsHitTestVisible="False" />
                        <ContentPresenter x:Name="PART_HostPresenter" IsHitTestVisible="False" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"/>
                        <TextBox
                            HorizontalAlignment="Center"
                            VerticalAlignment="Center"
                            Background="Transparent"
                            Foreground="Red"
                            IsReadOnly="True"
                            Text="{TemplateBinding MessageText}"
                            Visibility="{Binding Text, RelativeSource={RelativeSource Mode=Self}, Mode=OneWay, Converter={StaticResource emptyStringToVisibilityConverter}}" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="controls:Element3D">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="controls:Element3D">
                    <ContentPresenter x:Name="PART_Container" IsHitTestVisible="False" />
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <!--<Style TargetType="controls:GroupModel3D">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="controls:GroupModel3D">
                    <controls1:HelixItemsControl x:Name="PART_ItemsContainer" IsHitTestVisible="False" />
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>-->

    <local:PerspectiveCamera
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:local="using:HelixToolkit.UWP"
        x:Key="perspectiveCamera" />

    <local:OrthographicCamera
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:local="using:HelixToolkit.UWP"
        x:Key="orthographicCamera" />

    <local:MatrixCamera
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:local="using:HelixToolkit.UWP"
        x:Key="matrixCamera" />
<commit_msg>Fix UWP property not found exception.<commit_after>﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:controls="using:HelixToolkit.UWP"
    xmlns:controls1="using:HelixToolkit.UWP.Controls"
    xmlns:converters="using:HelixToolkit.UWP.Converters">
    <converters:BoolToVisibilityConverter x:Key="boolToVisibilityConverter" />
    <converters:EmptyStringToVisibilityConverter x:Key="emptyStringToVisibilityConverter" />
    <local:HelixItemsControl
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:local="using:HelixToolkit.UWP.Controls"
        x:Key="helixItemsControl" />

    <ControlTemplate x:Key="Element3DTemplate">
        <ContentPresenter x:Name="PART_Container" IsHitTestVisible="False" />
    </ControlTemplate>


    <Style TargetType="controls:Element3D">
        <Setter Property="Template" Value="{StaticResource ResourceKey=Element3DTemplate}"/>
    </Style>

    <Style TargetType="controls:Viewport3DX">
        <Setter Property="Background" Value="White" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="controls:Viewport3DX">
                    <Grid
                        HorizontalAlignment="Stretch"
                        VerticalAlignment="Stretch"
                        Background="{TemplateBinding Background}"
                        ManipulationMode="All"
                        Style="{x:Null}">
                        <controls1:HelixItemsControl>
                            <controls:ViewBoxModel3D
                                x:Name="PART_ViewCube"
                                EnableEdgeClick="{TemplateBinding IsViewCubeEdgeClicksEnabled}"
                                IsRendering="{TemplateBinding ShowViewCube}"
                                ManipulationMode="None"
                                RelativeScreenLocationX="{TemplateBinding ViewCubeHorizontalPosition}"
                                RelativeScreenLocationY="{TemplateBinding ViewCubeVerticalPosition}"
                                SizeScale="{TemplateBinding ViewCubeSize}"
                                UpDirection="{TemplateBinding ModelUpDirection}"
                                ViewBoxTexture="{TemplateBinding ViewCubeTexture}" />
                            <controls:CoordinateSystemModel3D
                                x:Name="PART_CoordinateView"
                                CoordinateSystemLabelX="{TemplateBinding CoordinateSystemLabelX}"
                                CoordinateSystemLabelY="{TemplateBinding CoordinateSystemLabelY}"
                                CoordinateSystemLabelZ="{TemplateBinding CoordinateSystemLabelZ}"
                                IsRendering="{TemplateBinding ShowCoordinateSystem}"
                                LabelColor="{TemplateBinding CoordinateSystemLabelForeground}"
                                ManipulationMode="None"
                                RelativeScreenLocationX="{TemplateBinding CoordinateSystemHorizontalPosition}"
                                RelativeScreenLocationY="{TemplateBinding CoordinateSystemVerticalPosition}"
                                SizeScale="{TemplateBinding CoordinateSystemSize}" />
                        </controls1:HelixItemsControl>
                        <controls1:HelixItemsControl x:Name="PART_ItemsContainer" IsHitTestVisible="False" />
                        <ContentPresenter x:Name="PART_HostPresenter" IsHitTestVisible="False" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"/>
                        <TextBox
                            HorizontalAlignment="Center"
                            VerticalAlignment="Center"
                            Background="Transparent"
                            Foreground="Red"
                            IsReadOnly="True"
                            Text="{TemplateBinding MessageText}"
                            Visibility="{Binding Text, RelativeSource={RelativeSource Mode=Self}, Mode=OneWay, Converter={StaticResource emptyStringToVisibilityConverter}}" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <local:PerspectiveCamera
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:local="using:HelixToolkit.UWP"
        x:Key="perspectiveCamera" />

    <local:OrthographicCamera
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:local="using:HelixToolkit.UWP"
        x:Key="orthographicCamera" />

    <local:MatrixCamera
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:local="using:HelixToolkit.UWP"
        x:Key="matrixCamera" />

{'fraction_non_alphanumeric': 0.09370109546165885, 'fraction_numerical': 0.007042253521126761, 'mean_word_length': 1.9603358425014477, 'pattern_counts': {'":': 0, '<': 78, '<?xml version=': 0, '>': 78, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 27}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5990180', 'n_tokens_mistral': 2553, 'n_tokens_neox': 2320, 'n_words': 265}