Jun 19, 2012, 1:46 PM
[CLOSED] Is it possible to make ItemsCollection.SingleItemMode setter public instead of internal
Hi,
I'm trying to create a custom component which will contain additional components. I'd like other developers to use it either via markup or code behind. Looking at how you have done things like ensure just one item in a collection such as Menu (for a button) or some of your layout and other components, I'd also like to create a single item mode ItemsCollection for my own object.
But the setter is internal:
Thanks!
I'm trying to create a custom component which will contain additional components. I'd like other developers to use it either via markup or code behind. Looking at how you have done things like ensure just one item in a collection such as Menu (for a button) or some of your layout and other components, I'd also like to create a single item mode ItemsCollection for my own object.
But the setter is internal:
[Description("")]
public bool SingleItemMode
{
get
{
return this.singleItemMode;
}
internal set
{
this.singleItemMode = value;
}
}
Any chance to make it public, or have I missed a trick/better way to do it?Thanks!
Last edited by Daniil; Jun 20, 2012 at 9:06 AM.
Reason: [CLOSED]