private void LoadTypographyFeatures() { _typographyFeatures = TypographyAnalyzer.GetSupportedTypographyFeatures(this); var xaml = _typographyFeatures.Where(f => TypographyBehavior.IsXamlSupported(f.Feature)).ToList(); if (xaml.Count > 0) xaml.Insert(0, new TypographyFeatureInfo(CanvasTypographyFeatureName.None)); _xamlTypographyFeatures = xaml; }
private void LoadTypographyFeatures() { var features = TypographyAnalyzer.GetSupportedTypographyFeatures(this); var xaml = features.Where(f => TypographyBehavior.IsXamlSingleGlyphSupported(f.Feature)).ToList(); if (xaml.Count > 0) { xaml.Insert(0, TypographyFeatureInfo.None); } _xamlTypographyFeatures = xaml; if (features.Count > 0) { features.Insert(0, TypographyFeatureInfo.None); } _typographyFeatures = features; }