私はXAFを学んでおり、PropertyEditorの値にアクセスしてそれを変更する方法を知りたいと思います。私はPropertyEditorから値を取り出し、その値を別のPropertyEditorの値に入れたいと思います。私のコードは次のようである:XAF - PropertyEditorの値を変更する
Property Editor reserva = (PropertyEditor)((DetailView)View).FindItem("Reserva"); //This is a custom object
PropertyEditor dni = (PropertyEditor)((DetailView)View).FindItem("Dni");//This is a simple text editor
PropertyEditor dniReserva = (PropertyEditor)reserva.View.FindItem("Dni");//This is a variable from the custom object
dni.PropertyValue = dniReserva.ControlValue;
これは、任意のアイデアは動作しませんか?ありがとうございます
あなたは私が欲しいものを理解するのを助けます、ありがとうございます。リンクはとても便利でした! – mrvinent