English 中文(简体)
我如何根据WPF(C#)网页的任何数据变化来说明职能?
原标题:How can I call a function according to any data change in WPF (C#) page?
  • 时间:2010-08-24 10:35:39
  •  标签:
  • c#
  • wpf

我需要根据WPF(C#)网页的任何数据变化,即如果对目前网页的任何数据进行改动,例如文本箱、无线电布顿、检查箱、Combo盒、数据网等,那么我需要说明我如何利用不同事件来做到这一点?

问题回答

你们可以在你们的法典中使用依赖性财产,不受你们的控制。 这将使你们的控制或守则得以自动更新。

指定机构 在该类别上的变化,所有房地产设定人的财产通知发生了变化。

HTH

如果你在你的法典中将此规定放在后面,那么它将呼吁残疾者参加每次活动。

如果在初次定稿后提出,

InitializeComponent();

foreach (RoutedEvent event in EventManager.GetRoutedEvents())
{
    AddHandler(event, new RoutedEventHandler(Handler), true);
}

你们可以实施手工艺方法。 这将附属于每次活动。

void Handler(object sender, RoutedEventArgs e) { Title = e.ToString(); }

或者,你只能把你想要的事件定下来,例如,案文改为相同的方法,或者说,你只能用斜线或每一方的某种逻辑来形容某些事件。

希望这一帮助





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签