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


C# DataGridRow.GetValue方法代码示例

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


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

示例1: GetMoveDragContentTemplate

 /// <summary>
 /// Gets the content template when this instance is being dragged above or below another row.
 /// </summary>
 /// <param name="dataGridRow">The data grid row.</param>
 /// <returns>A data template used when this instance is being dragged above or below another row.</returns>
 public static DataTemplate GetMoveDragContentTemplate(DataGridRow dataGridRow)
 {
     return (DataTemplate)dataGridRow.GetValue(MoveDragContentTemplateProperty);
 }
开发者ID:ruisebastiao,项目名称:Elysium-Extra,代码行数:9,代码来源:DataGridRowAttached.cs

示例2: GetMoveBelowCommand

 /// <summary>
 /// Gets the command used to move another row below this one using drag and drop.
 /// </summary>
 /// <param name="dataGridRow">The data grid row.</param>
 /// <returns>The command to move a row below this instance.</returns>
 public static ICommand GetMoveBelowCommand(DataGridRow dataGridRow)
 {
     return (ICommand)dataGridRow.GetValue(MoveBelowCommandProperty);
 }
开发者ID:ruisebastiao,项目名称:Elysium-Extra,代码行数:9,代码来源:DataGridRowAttached.cs

示例3: GetIsDeselectionEnabled

 /// <summary>
 /// Gets the deselection enabled property. If enabled, and the row is clicked while selected, the row is deselected.
 /// </summary>
 /// <param name="dataGridRow">The data grid row.</param>
 /// <returns><c>true</c> if deselecting row when selected and clicked, otherwise <c>false</c>.</returns>
 public static bool GetIsDeselectionEnabled(DataGridRow dataGridRow)
 {
     return (bool)dataGridRow.GetValue(IsDeselectionEnabledProperty);
 }
开发者ID:ruisebastiao,项目名称:Elysium-Extra,代码行数:9,代码来源:DataGridRowAttached.cs

示例4: GetIsReadOnly

 /// <summary>
 /// Gets the is read only flag for the row.
 /// </summary>
 /// <param name="dataGridRow">The data grid row.</param>
 /// <returns><c>true</c> if the row is read only, otherwise <c>false</c>.</returns>
 public static bool GetIsReadOnly(DataGridRow dataGridRow)
 {
     return (bool)dataGridRow.GetValue(IsReadOnlyProperty);
 }
开发者ID:ruisebastiao,项目名称:Elysium-Extra,代码行数:9,代码来源:DataGridRowAttached.cs

示例5: GetMoveDragFormat

 /// <summary>
 /// Gets the drag format when this instance is being dragged above or below another row.
 /// </summary>
 /// <param name="dataGridRow">The data grid row.</param>
 /// <returns>The drag format used when this instance is being dragged above or below another row.</returns>
 public static string GetMoveDragFormat(DataGridRow dataGridRow)
 {
     return (string)dataGridRow.GetValue(MoveDragFormatProperty);
 }
开发者ID:ruisebastiao,项目名称:Elysium-Extra,代码行数:9,代码来源:DataGridRowAttached.cs


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