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


C# ComponentModel.PropertyChangedEventArgs类代码示例

本文整理汇总了C#中System.ComponentModel.PropertyChangedEventArgs的典型用法代码示例。如果您正苦于以下问题:C# PropertyChangedEventArgs类的具体用法?C# PropertyChangedEventArgs怎么用?C# PropertyChangedEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: GP_PropertyChanged

 private void GP_PropertyChanged(object sender, PropertyChangedEventArgs e)
 {
     //  Nom du noeud modifié            ((GrandeurPhysique)sender).Nom  
     //  Nom de la propriété modifier    e.PropertyName
     if (e.PropertyName=="Valeur")
         Model.CalculerRelation(((GrandeurPhysique)sender));
 }
开发者ID:aliaspilote,项目名称:TX52,代码行数:7,代码来源:MonGraph_ViewModel.cs

示例2: OnPropertyChanged

 protected virtual void OnPropertyChanged(PropertyChangedEventArgs e)
 {
     if (PropertyChanged != null)
     {
         PropertyChanged(this, e);
     }
 }
开发者ID:PaulStovell,项目名称:sms-quiz,代码行数:7,代码来源:BindableObject.cs

示例3: RootPropertyChanged

 void RootPropertyChanged(object sender, PropertyChangedEventArgs e)
 {
     if ("State" == e.PropertyName)
     {
         base.OnPropertyChanged("ProgressEnabled");
     }
 }
开发者ID:bullshock29,项目名称:Wix3.6Toolset,代码行数:7,代码来源:ProgressViewModel.cs

示例4: HandlePropertyChanged

 void HandlePropertyChanged(object sender, PropertyChangedEventArgs e)
 {
     if(e.PropertyName == ReflectionUtil.GetPropertyName(() => this.model.DiscoveredGameInstances))
     {
         this.UpdateList ();
     }
 }
开发者ID:Krumelur,项目名称:Pyramid,代码行数:7,代码来源:GameNetworkInstanceDiscoveryController.cs

示例5: ConstantTypeVM_PropertyChanged

		void ConstantTypeVM_PropertyChanged(object sender, PropertyChangedEventArgs e) {
			if (e.PropertyName == nameof(ConstantTypeVM.Value))
				OnPropertyChanged(nameof(Value));
			else if (e.PropertyName == nameof(ConstantTypeVM.IsEnabled))
				IsEnabled = ConstantTypeVM.IsEnabled;
			HasErrorUpdated();
		}
开发者ID:manojdjoshi,项目名称:dnSpy,代码行数:7,代码来源:ConstantVM.cs

示例6: OnAppearanceManagerPropertyChanged

 private void OnAppearanceManagerPropertyChanged(object sender, PropertyChangedEventArgs e)
 {
     if (e.PropertyName == "ThemeSource" || e.PropertyName == "AccentColor")
     {
         SyncThemeAndColor();
     }
 }
开发者ID:joelbugarini,项目名称:warehouse,代码行数:7,代码来源:SettingsAppearanceViewModel.cs

示例7: workWeek_PropertyChanged

 private void workWeek_PropertyChanged(object sender, PropertyChangedEventArgs e)
 {
     // this property doesn't exist here, but we want to trigger saving the data at MainViewModel
     this.OnPropertyChanged("HoursDuration");
     this.UpdateProjectHitlistAsync();
     this.UpdatePositionHitlistAsync();
 }
开发者ID:dotob,项目名称:moni,代码行数:7,代码来源:WorkYear.cs

示例8: CoreDataContent_PropertyChanged

 void CoreDataContent_PropertyChanged(object sender, PropertyChangedEventArgs e)
 {
     if (e.PropertyName == CoreDataTypes.CurrentSelectedDatabase.ToString())
     {
         SetCurrentTreeViewNode();
     }
 }
开发者ID:sunnysunhuajun,项目名称:BuilderCode,代码行数:7,代码来源:ExplorerForm.cs

示例9: settings_PropertyChanged

        /// <summary>
        /// Handles the PropertyChanged event of the <see cref="_settings"/>.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.ComponentModel.PropertyChangedEventArgs"/> instance containing the event data.</param>
        void settings_PropertyChanged(object sender, PropertyChangedEventArgs e)
        {
            if (!StringComparer.Ordinal.Equals(KeySettingName, e.PropertyName))
                return;

            UpdateValue();
        }
开发者ID:Furt,项目名称:netgore,代码行数:12,代码来源:SettingsKeyCodeReference.cs

示例10: SettingsPropertyChanged

 private void SettingsPropertyChanged(object sender, PropertyChangedEventArgs e)
 {
     if (e.PropertyName == "Password")
     {
         password.Password = ViewModel.Password;
     }
 }
开发者ID:alibad,项目名称:Bugger,代码行数:7,代码来源:TFSSettingView.xaml.cs

示例11: LayerPropertyChanged

 void LayerPropertyChanged(object sender, PropertyChangedEventArgs e)
 {
     if (e.PropertyName == "Envelope")
     {
         OnPropertyChanged(e.PropertyName);
     }
 }
开发者ID:HackatonArGP,项目名称:Guardianes,代码行数:7,代码来源:Map.cs

示例12: NotifierPropertyChanged

        private void NotifierPropertyChanged(object sender, PropertyChangedEventArgs e)
        {
            if (ShouldNotify(e.PropertyName))
                Notify();

            HookSubpathMonitor();
        }
开发者ID:Mrding,项目名称:Ribbon,代码行数:7,代码来源:ItemPropertyPathMonitor.cs

示例13: ErrorOnPropertyChanged

 /// <summary>
 /// Wird aufgerufen, wenn sich eine Property in WorkflowEditorDesignerCanvasErrorViewModel ausgelöst wird.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="args"></param>
 private void ErrorOnPropertyChanged(object sender, PropertyChangedEventArgs args)
 {
     if (args.PropertyName == "Error")
     {
         ErrorMessage = WorkflowEditorDesignerCanvasErrorViewModel.Instance.Error;
     }
 }
开发者ID:martinjuhasz,项目名称:Softwaretechnik,代码行数:12,代码来源:WorkflowEditorViewModel.cs

示例14: OnLoginPropertyChanged

 private void OnLoginPropertyChanged(object sender, PropertyChangedEventArgs e)
 {
     if (e.PropertyName == "IsLoggedIn" && IsLoggedIn)
     {
         this.regionManager.Regions[RegionNames.ShellContentRegion].RequestNavigate("ContentView", nr => { });
     }
 }
开发者ID:Displayedd,项目名称:PrismWpfApplication,代码行数:7,代码来源:ContentViewModel.cs

示例15: OnPropertyChanged

 private void OnPropertyChanged(object sender, PropertyChangedEventArgs e)
 {
     if (this.propertyNames[(INotifyPropertyChanged)sender].Contains(e.PropertyName))
     {
         this.handler(sender, e);
     }
 }
开发者ID:Lawo,项目名称:ember-plus-sharp,代码行数:7,代码来源:PropertyChangedRegistration.cs


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