BooleanElement.CellKey Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Subclasses that override the GetCell method should override this method as well
protected override Foundation.NSString CellKey { get; }
member this.CellKey : Foundation.NSString
Property Value
Unique NSString value, typically the underlying value is allocated as a static variable.
Remarks
This method should return the key passed to UITableView.DequeueReusableCell. If your code overrides the GetCell(UITableView) method to change the cell, you must also override this method and return a unique key for it. This works in most subclasses with a couple of exceptions: StringElement and various derived classes do not use this setting as they need a wider range of keys for different uses, so you need to look at the source code for those if you are trying to override StringElement or StyledStringElement.