RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToParent, Property=Height, Factor=0.091}"
RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=0.1563}"
RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToParent, Property=Height, Factor=0.854}"
- RelativeLayout.XConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=0.6354}"/>
+ RelativeLayout.XConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=0.6354}"
+ IsEnabled="False"/>
<Button x:Name="CancelButton" Text="CANCEL"
RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToParent, Property=Height, Factor=0.091}"
RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=0.1563}"
{
if (e.PropertyName.Equals("ContentType") || e.PropertyName.Equals("SelectedCount"))
{
+ if (SelectedCount > 0)
+ {
+ OkButton.IsEnabled = true;
+ }
+ else
+ {
+ OkButton.IsEnabled = false;
+ }
if (SelectedCount > 1)
{
LabelCount.Text = SelectedCount + " " + ContentType + "s";