Navigation Bar : UserData and Selected Index

0
0

Hi

  • How can I add user data to a NavigationBarItem ?
  • is there a way to determine the index of a selected item in the a NavigationBar?

 

regards

Marc

 

  • You must to post comments
0
0

Hi Franck

thanks for your reply I have numerous questions about the WiseJ framework.

I don’t know if this forum is the right chanel to communicate.

  1. the Form editor in VS 2019 shows a page with a an orange alert sign for each control (see attached screen shot).
  2. The MouseEventArgs for MouseMove or even MouseWheel always shows a Left button press even when if the button was never pressed. It should be None.
  3. in some WiseJ examples there is a reference to Wise.Core and/or Wise.Web that cannot be resolved (see attached PDF)

Thanks for your help.

Regards

Marc

  • You must to post comments
0
0

Hi Marc,

you can use a theme mixin using the drop state.
Please see my latest answer in this thread:

https://wisej.com/support/question/listview-drag-drop-reorder-items

Best regards
Frank

  • You must to post comments
0
0

Hi Franck

thanks for the clarification which is helpful.

I have a question about the ListView.

Is there an Owner draw option as I would like to provide visual feedback when reordering a ListView by dragging and dropping items?

The idea is to draw a line showing where the items would be moved.

regards

 

Marc

  • You must to post comments
0
0

Hi Marc,

you can either use the Tag property of an item or the dynamic object UserData.
For example:

newItem.UserData.moreInfo = "more info";

To determine which item is selected please use the SelectedItem.

If you want to know which item is clicked, you can handle ItemClicked event
and find the clicked item in e.Item.

Hope that helps.

Best regards
Frank

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.