本文整理汇总了C#中System.Windows.Controls.ListView.GetValue方法的典型用法代码示例。如果您正苦于以下问题:C# ListView.GetValue方法的具体用法?C# ListView.GetValue怎么用?C# ListView.GetValue使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类System.Windows.Controls.ListView
的用法示例。
在下文中一共展示了ListView.GetValue方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: GetOrCreateBehavior
private static ListViewResizeBehavior GetOrCreateBehavior(ListView element)
{
var behavior = element.GetValue(GridViewColumnResizeBehaviorProperty) as ListViewResizeBehavior;
if (behavior == null) {
behavior = new ListViewResizeBehavior(element);
element.SetValue(ListViewResizeBehaviorProperty, behavior);
}
return behavior;
}
示例2: GetCurrentSortColumn
public static SortableGridViewColumn GetCurrentSortColumn(ListView listView) {
return (SortableGridViewColumn)listView.GetValue(CurrentSortColumnProperty);
}
示例3: GetSortDirection
public static ColumnSortDirection GetSortDirection(ListView listView) {
return (ColumnSortDirection)listView.GetValue(SortDirectionProperty);
}
示例4: GetSortMode
public static ListViewSortMode GetSortMode(ListView listView) {
return (ListViewSortMode)listView.GetValue(SortModeProperty);
}
示例5: GetSortAtHeaderClick
/// <summary>
/// Ruft den Wert der angefügten SortAtHeaderClick Abhängigkeitseigenschaft für eine bestimmte <see cref="System.Windows.Controls.ListView"/> ab.
/// </summary>
/// <param name="lv">Die <see cref="System.Windows.Controls.ListView"/> deren SortAtHeaderClick Wert abgerufen werden soll.</param>
public static bool GetSortAtHeaderClick(ListView lv)
{
return (bool)lv.GetValue(SortAtHeaderClickProperty);
}
示例6: GetDefaultSortComparer
public static IItemComparer GetDefaultSortComparer(ListView element)
{
return (IItemComparer)element.GetValue(DefaultSortComparerProperty);
}
示例7: GetAutoScrollToSelectedItem
public static bool GetAutoScrollToSelectedItem(ListView element)
{
return (bool)element.GetValue(AutoScrollToSelectedItemProperty);
}
示例8: GetIsToSelectedEnabled
public static bool GetIsToSelectedEnabled(ListView d)
{
return (bool)d.GetValue(IsToSelectedEnabledProperty);
}
示例9: GetSelectedItems
public static IList GetSelectedItems( ListView owner )
{
return ( IList )owner.GetValue( SelectedItemsProperty );
}
示例10: GetIsLoadEventAttached
static Boolean GetIsLoadEventAttached( ListView owner )
{
return ( Boolean )owner.GetValue( IsLoadEventAttachedProperty );
}
示例11: GetAutoSort
public static bool GetAutoSort(ListView obj)
{
return (bool)obj.GetValue(AutoSortProperty);
}
示例12: GetSortGlyphDescending
public static ImageSource GetSortGlyphDescending(ListView obj)
{
return (ImageSource)obj.GetValue(SortGlyphDescendingProperty);
}
示例13: GetShowSortGlyph
public static bool GetShowSortGlyph(ListView obj)
{
return (bool)obj.GetValue(ShowSortGlyphProperty);
}
示例14: GetEnableDragHover
public static UIElement GetEnableDragHover(ListView listView)
{
return (UIElement)listView.GetValue(EnableDragHoverProperty);
}
示例15: GetCanUserSortColumns
public static bool GetCanUserSortColumns(ListView element)
{
return (bool)element.GetValue(CanUserSortColumnsProperty);
}