Questions tagged [currentitem]
25 questions
8
votes
2 answers
DataGrid CurrentItem != SelectedItem after reentry with tab-button
This simple WPF-DataGrid

navigato
- 111
- 1
- 4
3
votes
2 answers
Binding to CurrentItem in a ItemsControl
The XAML below is basically trying to make a list of Buttons (rendered from the Name property of objects in the Views collection in the current DataContext.
When I click on a button the CurrentItem property of CollectionViewSource should change and…

thrag
- 1,536
- 4
- 20
- 32
2
votes
1 answer
Is currentItem of AVPlayer key value observable?
I used a AvQueuePlayer for playing audio in background. And to keep the playlist of AvQueuePlayer not empty, I used key-value observing to keep an eye on the currentItem of AvQueuePlayer for getting ready to load a next play item. Sometimes it works…

Sevear Liu
- 61
- 6
2
votes
0 answers
WPF DataGrid CurrenItem at the top
I implemented a DataGrid via WPF MVVM where I'd like to "scroll" to a particular item. I don't want to select the correspond row though. Using the CurrenItem property works fine, but it "scrolls" to the target row at the bottom of the data grid (or…

Ludovic Wagner
- 85
- 1
- 6
2
votes
1 answer
How to get current view pager view without tags?
I have a view pager in which each page is a custom view ( ...and not a Fragment) that I'm inflating using a LayoutInflator. Each custom view has an ImageView inside it that is populated with an image from web using the Glide library.
My task is…

Emil Adz
- 40,709
- 36
- 140
- 187
2
votes
3 answers
VBA How To: Prompt When ActiveInspector.CurrentItem is null in Outlook?
If this has been posted, please let me know as I wasn't able to find it :)
I've made a prompt in Outlook that selects the current mail item and deletes it before opening an application:
Dim objApp As Outlook.Application
Set objApp =…

Austin Kargl
- 89
- 2
- 10
2
votes
2 answers
mmenu help - how to add "Selected" class to current page (maybe using "currentItem" addon)
I'm using mmenu to create a menu. While I'm open to advice on whether to use jquery or PHP (best practice advice), I need to be able to easily include my menu on each new page. I hope this makes updates easier.
The problem is that mmenu does not…

eagle
- 61
- 3
2
votes
0 answers
ICollectionView cancel currentchanging
I am looking for a way to cancel the CurrentChanging event depending on the item that was clicked.
In my application I use ICollectionView to hold my list of viewmodels which are rendered as tabitems in a tabcontrol.
For a specific viewmodel I need…

tabina
- 1,095
- 1
- 14
- 37
1
vote
1 answer
How to tell whether item in itemscontrol datatemplate is current?
I have an ItemsControl that binds to ICollectionView.
I need to tell from withing DataTemplate of an item, whether it is the current.
Note: This is possible from Listbox, but I want ItemsControl looks.

Kugel
- 19,354
- 16
- 71
- 103
1
vote
1 answer
Rounded Corner Menu- Current Page Item
I'm working on a webpage that has a menu with rounded corners. I'm using a theme in WordPress and modifying it, so I'm starting with something someone else has created. I'm middle of the road when it comes to CSS and html- I can kludge things…

kaylithin
- 23
- 2
1
vote
2 answers
Preview Mouse Down event returns sender with null referenced CurrentColumn when called first time
I run my application and fill datagrid with data. Then I click on some row and handle event in following way:
private void dataGridCanTabParamList_PreviewMouseDown(object sender, MouseButtonEventArgs e)
{
var buffer = sender as…

h__
- 761
- 3
- 12
- 41
1
vote
2 answers
AVPlayer currently playing item details and volume control in iPhone?
I have tried AVPlayer for playing online http streamed music file, it works fine.
What is the way to get the current playing audio track name,artist etc?
Is there any way to adjust the volume of AVPlayer while playing music (using UISlider)?

Neeraj Neeru
- 570
- 8
- 28
0
votes
0 answers
I don't know why currentItem was not worked and findviewbyId is null
I made my application by viewpager2, but transtion by currentItem is not work. It's code just respond null.(findviewbyId)
ViewPagerAdapter.kt
class ViewPagerAdapter(
list: ArrayList,
fm: FragmentManager,
lifecycle: Lifecycle
)…

jung ho jang
- 1
- 4
0
votes
1 answer
I want to navigate other fragment by Left to Right touch in fragment(kotlin)
I want to navigate to another fragment by findNavigator.
But findNavigator was declared in Fragment. So I must detect the Left to Right touch gesture on Fragment view.
How can I use a detector in one fragment to navigate another fragment? Please…

jung ho jang
- 1
- 4
0
votes
1 answer
RibbonApplicationMenuItem has wrong CurrentItem?
I've got an RibbonApplicationMenuItem with SubItems of the same Kind. The SubItems are added by Code.
After selecting a RibbonApplicationMenuItem the wrong currentItem is shown while handling the click event.
CurrentItem is always the first element…

Lif3styl3
- 63
- 2
- 9