korasoglu Posted January 15, 2019 Share Posted January 15, 2019 repositoryitemradiogroup Click Arkadaşlar ribbon controle repositoryitemradiogroup ekledim RadioGroup edit = sender as RadioGroup; if (edit.SelectedIndex == 0) {} seçilen index alıyorum fakat her tıklamamda ilk index seçili hale geliyor yani seçim iptal olmuş oluyor. benim istediğim hangi index seçtim ise o index seçili kalması istiyorum yardımcı olursanız sevinirim Quote Link to comment Share on other sites More sharing options...
hadibeolsun Posted January 16, 2019 Share Posted January 16, 2019 (edited) Kodu repositoryitemradiogroup Click olayına değil de selected ile ilgili event ları var mı ona bir bak. https://documentation.devexpress.com/WindowsForms/DevExpress.XtraEditors.RepositoryRepositoryItemRadioGroupClassEventsTopic SelectedIndexChanged var EditValueChanged,EditValueChanging bunlar iş görür..Her kontrol click eventına yazılacak diye bir kaide yok. Kodların doğru çalışıyor olabilir ama istediğin özellik başka bir event üzerinden gerçekleşiyor da olabilir. Bir de seçili olan index numarasını bir integer değere veya string değere eşleştir bir sonraki load olayında da seçili olan index numarasına göre açılsın komutunu ver. Edited January 16, 2019 by hadibeolsun Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.