Silverlight 4 アプリケーションがあり、プログラムでオブジェクトにいくつかのバインディングを設定します。
Binding bBorder = new Binding();
bBorder.Source = CellItem;
bBorder.Mode = BindingMode.OneWay;
bBorder.Path = new PropertyPath("Border");
appointmentItem.SetBinding(AppointmentItem.BorderBrushProperty, bBorder);
ベスト プラクティスの教訓に関係なく、このコードを 2 回実行すると、バインドが 2 回登録されることになりますか、それとも最初のバインドは適切に削除されますか?
ありがとう、ティム