c# Programming Glossary: uipropertymetadata
Set focus on textbox in WPF from view model (C#) & wPF http://stackoverflow.com/questions/1356045/set-focus-on-textbox-in-wpf-from-view-model-c-wpf IsFocused typeof bool typeof FocusExtension new UIPropertyMetadata false OnIsFocusedPropertyChanged private static void OnIsFocusedPropertyChanged..
Proper DataGrid search from TextBox in WPF using MVVM http://stackoverflow.com/questions/15467553/proper-datagrid-search-from-textbox-in-wpf-using-mvvm IsTextMatch typeof bool typeof DataGridTextSearch new UIPropertyMetadata false public static bool GetIsTextMatch DependencyObject obj..
How to add a Blend Behavior in a Style Setter http://stackoverflow.com/questions/1647815/how-to-add-a-blend-behavior-in-a-style-setter Message typeof string typeof DebugAction new UIPropertyMetadata public object MessageParameter get return object GetValue MessageParameterProperty.. MessageParameter typeof object typeof DebugAction new UIPropertyMetadata null protected override void Invoke object parameter Debug.WriteLine.. typeof Behaviors typeof SupplementaryInteraction new UIPropertyMetadata null OnPropertyBehaviorsChanged private static void OnPropertyBehaviorsChanged..
WPF - Set Focus when a button is clicked - No Code Behind http://stackoverflow.com/questions/2204063/wpf-set-focus-when-a-button-is-clicked-no-code-behind typeof Control typeof EventFocusAttachment new UIPropertyMetadata null ElementToFocusPropertyChanged public static void ElementToFocusPropertyChanged..
databind the Source property of the WebBrowser in WPF http://stackoverflow.com/questions/263551/databind-the-source-property-of-the-webbrowser-in-wpf BindableSource typeof string typeof WebBrowserUtility new UIPropertyMetadata null BindableSourcePropertyChanged public static string GetBindableSource..
WPF MVVM: how to bind GridViewColumn to ViewModel-Collection? http://stackoverflow.com/questions/2643545/wpf-mvvm-how-to-bind-gridviewcolumn-to-viewmodel-collection ColumnsSource typeof object typeof GridViewColumns new UIPropertyMetadata null ColumnsSourceChanged AttachedPropertyBrowsableForType.. HeaderTextMember typeof string typeof GridViewColumns new UIPropertyMetadata null AttachedPropertyBrowsableForType typeof GridView public.. typeof string typeof GridViewColumns new UIPropertyMetadata null private static void ColumnsSourceChanged DependencyObject..
tips on developing resolution independent application http://stackoverflow.com/questions/3193339/tips-on-developing-resolution-independent-application ScaleValue typeof double typeof MainWindow new UIPropertyMetadata 1.0 new PropertyChangedCallback OnScaleValueChanged new CoerceValueCallback..
mvvm how to make a list view auto scroll to a new Item in a list view http://stackoverflow.com/questions/3317194/mvvm-how-to-make-a-list-view-auto-scroll-to-a-new-item-in-a-list-view typeof bool typeof ListBoxItemBehavior new UIPropertyMetadata false OnIsBroughtIntoViewWhenSelectedChanged summary Action..
WPF/MVVM - how to handle double-click on TreeViewItems in the ViewModel? http://stackoverflow.com/questions/4497825/wpf-mvvm-how-to-handle-double-click-on-treeviewitems-in-the-viewmodel Command typeof ICommand typeof MouseDoubleClick new UIPropertyMetadata CommandChanged public static DependencyProperty CommandParameterProperty.. typeof object typeof MouseDoubleClick new UIPropertyMetadata null public static void SetCommand DependencyObject target ICommand..
WPF MVVM Modal Overlay Dialog only over a View (not Window) http://stackoverflow.com/questions/6351612/wpf-mvvm-modal-overlay-dialog-only-over-a-view-not-window IsShown typeof bool typeof ModalDialog new UIPropertyMetadata false IsShownChangedCallback public static void IsShownChangedCallback.. OverlayOn typeof UIElement typeof ModalDialog new UIPropertyMetadata null #endregion public void Show Force recalculate binding..
Attach ICommand in WPF UserControl http://stackoverflow.com/questions/643689/attach-icommand-in-wpf-usercontrol Image typeof ImageSource typeof ImageButton new UIPropertyMetadata null public static String GetCaption DependencyObject obj return.. Caption typeof String typeof ImageButton new UIPropertyMetadata null Style TargetType x Type Button x Key ImageButton Setter..
In WPF can you filter a CollectionViewSource without code behind? http://stackoverflow.com/questions/6461826/in-wpf-can-you-filter-a-collectionviewsource-without-code-behind PropertyName typeof string typeof PropertyFilter new UIPropertyMetadata null public string PropertyName get return string GetValue.. Value typeof object typeof PropertyFilter new UIPropertyMetadata null public object Value get return object GetValue ValueProperty.. RegexPattern typeof string typeof PropertyFilter new UIPropertyMetadata null public string RegexPattern get return string GetValue..
|