当前位置: 首页>>代码示例>>C#>>正文


C# DependencyObject.Get方法代码示例

本文整理汇总了C#中System.Windows.DependencyObject.Get方法的典型用法代码示例。如果您正苦于以下问题:C# DependencyObject.Get方法的具体用法?C# DependencyObject.Get怎么用?C# DependencyObject.Get使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在System.Windows.DependencyObject的用法示例。


在下文中一共展示了DependencyObject.Get方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: GetInactiveStrokeThickness

		public static int GetInactiveStrokeThickness(DependencyObject i) => i.Get<int>(InactiveStrokeThicknessProperty);
开发者ID:JackWangCUMT,项目名称:FlexCharts,代码行数:1,代码来源:StateSegmentPrimitive.cs

示例2: GetValueFontSize

		public static double GetValueFontSize(DependencyObject i) => i.Get<double>(SecondaryValueFontSizeProperty);
开发者ID:JackWangCUMT,项目名称:FlexCharts,代码行数:1,代码来源:SecondaryValuePrimitive.cs

示例3: GetTheme

		public static MaterialSet GetTheme(DependencyObject i) => i.Get<MaterialSet>(ThemeProperty);
开发者ID:JackWangCUMT,项目名称:FlexCharts,代码行数:1,代码来源:ThemePrimitive.cs

示例4: GetValueFontFamily

		public static FontFamily GetValueFontFamily(DependencyObject i) => i.Get<FontFamily>(SecondaryValueFontFamilyProperty);
开发者ID:JackWangCUMT,项目名称:FlexCharts,代码行数:1,代码来源:SecondaryValuePrimitive.cs

示例5: GetValueFontWeight

		public static FontWeight GetValueFontWeight(DependencyObject i) => i.Get<FontWeight>(SecondaryValueFontWeightProperty);
开发者ID:JackWangCUMT,项目名称:FlexCharts,代码行数:1,代码来源:SecondaryValuePrimitive.cs

示例6: GetSegmentWidthPercentage

		public static double GetSegmentWidthPercentage(DependencyObject i) => i.Get<double>(SegmentWidthPercentageProperty);
开发者ID:JackWangCUMT,项目名称:FlexCharts,代码行数:1,代码来源:SegmentPrimitive.cs

示例7: GetHorizontalLabelPositionSkew

		public static double GetHorizontalLabelPositionSkew(DependencyObject i) => i.Get<double>(HorizontalLabelPositionSkewProperty);
开发者ID:JackWangCUMT,项目名称:FlexCharts,代码行数:1,代码来源:PolarLabelingPrimitive.cs

示例8: GetYAxisFontWeight

		public static FontWeight GetYAxisFontWeight(DependencyObject i) => i.Get<FontWeight>(YAxisFontWeightProperty);
开发者ID:JackWangCUMT,项目名称:FlexCharts,代码行数:1,代码来源:YAxisPrimitive.cs

示例9: GetYAxisFontStretch

		public static FontStretch GetYAxisFontStretch(DependencyObject i) => i.Get<FontStretch>(YAxisFontStretchProperty);
开发者ID:JackWangCUMT,项目名称:FlexCharts,代码行数:1,代码来源:YAxisPrimitive.cs

示例10: GetYAxisFontFamily

		public static FontFamily GetYAxisFontFamily(DependencyObject i) => i.Get<FontFamily>(YAxisFontFamilyProperty);
开发者ID:JackWangCUMT,项目名称:FlexCharts,代码行数:1,代码来源:YAxisPrimitive.cs

示例11: GetYAxisFontStyle

		public static FontStyle GetYAxisFontStyle(DependencyObject i) => i.Get<FontStyle>(YAxisFontStyleProperty);
开发者ID:JackWangCUMT,项目名称:FlexCharts,代码行数:1,代码来源:YAxisPrimitive.cs

示例12: GetClickFeedback

		public static Luminosity GetClickFeedback(DependencyObject i) => i.Get<Luminosity>(ClickFeedbackProperty);
开发者ID:JackWangCUMT,项目名称:FlexCharts,代码行数:1,代码来源:VisualFeedback.cs

示例13: GetLineStrokeThickness

		public static double GetLineStrokeThickness(DependencyObject i) => i.Get<double>(LineStrokeThicknessProperty);
开发者ID:JackWangCUMT,项目名称:FlexCharts,代码行数:1,代码来源:LinePrimitive.cs

示例14: GetLineStroke

		public static AbstractMaterialDescriptor GetLineStroke(DependencyObject i) => i.Get<AbstractMaterialDescriptor>(LineStrokeProperty);
开发者ID:JackWangCUMT,项目名称:FlexCharts,代码行数:1,代码来源:LinePrimitive.cs

示例15: GetBarTotalForeground

		public static AbstractMaterialDescriptor GetBarTotalForeground(DependencyObject i) => i.Get<AbstractMaterialDescriptor>(BarTotalForegroundProperty);
开发者ID:JackWangCUMT,项目名称:FlexCharts,代码行数:1,代码来源:BarTotalPrimitive.cs


注:本文中的System.Windows.DependencyObject.Get方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。