private void OptionLayout()
        {
            //propertylayout
            propertylayout             = new LinearLayout(context);
            propertylayout.Orientation = Android.Widget.Orientation.Vertical;
            showlabel = showLabelPosition;
            snapsto   = SnapsTo.None;

            //propertyLabel
            TextView propertyLabel = new TextView(context);

            propertyLabel.SetTextColor(Color.ParseColor("#282828"));
            propertyLabel.Gravity  = GravityFlags.CenterVertical;
            propertyLabel.TextSize = 18;
            propertyLabel.SetPadding(0, 10, 0, 10);
            propertyLabel.LayoutParameters = new FrameLayout.LayoutParams(ViewGroup.LayoutParams.MatchParent, ViewGroup.LayoutParams.MatchParent, GravityFlags.Left | GravityFlags.CenterHorizontal);
            propertyLabel.Text             = "  " + "OPTIONS";

            //closeLabel
            TextView closeLabel = new TextView(context);

            closeLabel.SetBackgroundColor(Color.Transparent);
            closeLabel.Gravity          = GravityFlags.CenterVertical;
            closeLabel.LayoutParameters = new FrameLayout.LayoutParams(ViewGroup.LayoutParams.WrapContent, ViewGroup.LayoutParams.WrapContent, GravityFlags.Right | GravityFlags.CenterHorizontal);
            closeLabel.SetBackgroundResource(Resource.Drawable.sfclosebutton);

            //closeLayout
            FrameLayout closeLayout = new FrameLayout(context);

            closeLayout.SetBackgroundColor(Color.Transparent);
            closeLayout.SetPadding(0, 10, 0, 10);
            closeLayout.LayoutParameters = new FrameLayout.LayoutParams(ViewGroup.LayoutParams.WrapContent, ViewGroup.LayoutParams.WrapContent, GravityFlags.Right | GravityFlags.CenterHorizontal);
            closeLayout.AddView(closeLabel);

            //topProperty
            topProperty = new FrameLayout(context);
            topProperty.LayoutParameters = new FrameLayout.LayoutParams(ViewGroup.LayoutParams.MatchParent, ViewGroup.LayoutParams.WrapContent);
            topProperty.SetBackgroundColor(Color.Rgb(230, 230, 230));
            topProperty.AddView(propertyLabel);
            topProperty.AddView(closeLayout);
            topProperty.Touch += (object sendar, View.TouchEventArgs e) =>
            {
                propertyFrameLayout.RemoveAllViews();
                buttomButtonLayout.RemoveAllViews();
                buttomButtonLayout.AddView(propertyButton);
            };
            proprtyOptionsLayout             = new LinearLayout(context);
            proprtyOptionsLayout.Orientation = Android.Widget.Orientation.Vertical;

            //spaceText
            TextView spaceText1 = new TextView(context);

            spaceText1.LayoutParameters = new FrameLayout.LayoutParams(ViewGroup.LayoutParams.MatchParent, 40, GravityFlags.Center);
            proprtyOptionsLayout.AddView(spaceText1);
        }
Пример #2
0
        private void SnapsToLayout()
        {
            //SnapsToTicks
            snapsToLabel          = new TextView(context);
            snapsToLabel.Text     = "  " + "Snaps To Tick";
            snapsToLabel.Typeface = Typeface.Create("Roboto", TypefaceStyle.Normal);
            snapsToLabel.Gravity  = GravityFlags.Center;
            snapsToLabel.TextSize = 20;

            //SnapsToTicks CheckBox
            Switch checkBox2 = new Switch(context);

            checkBox2.Checked        = false;
            checkBox2.CheckedChange += (object sender, CompoundButton.CheckedChangeEventArgs e) => {
                if (e.IsChecked)
                {
                    snapsto = SnapsTo.Ticks;
                }
                else
                {
                    snapsto = SnapsTo.None;
                }
            };

            //layoutParams
            LinearLayout.LayoutParams layoutParams5 = new LinearLayout.LayoutParams(
                ViewGroup.LayoutParams.MatchParent, ViewGroup.LayoutParams.WrapContent);
            layoutParams5.SetMargins(0, 20, 0, 0);
            LinearLayout.LayoutParams layoutParams6 = new LinearLayout.LayoutParams(
                ViewGroup.LayoutParams.WrapContent, 55);
            layoutParams6.SetMargins(0, 20, 0, 0);

            TextView textSpacing = new TextView(context);

            propertylayout.AddView(textSpacing);
            //stackView
            stackView4 = new LinearLayout(context);
            stackView4.AddView(snapsToLabel);
            stackView4.AddView(checkBox2, layoutParams5);
            stackView4.Orientation = droid.Horizontal;
            propertylayout.AddView(stackView4);
            SeparatorView separate4 = new SeparatorView(context, width * 2);

            separate4.LayoutParameters = new ViewGroup.LayoutParams(width * 2, 5);
            LinearLayout.LayoutParams layoutParams8 = new LinearLayout.LayoutParams(width * 2, 5);
            layoutParams8.SetMargins(0, 30, 0, 0);
            // propertylayout.AddView(separate4, layoutParams8);
            TextView textSpacing1 = new TextView(context);

            propertylayout.AddView(textSpacing1);
        }
Пример #3
0
        public ViewModel()
        {
            this.orientationModeTypeValues = new List <Orientation>();
            this.labelFormatTypeValues     = new List <string>();

            this.orientationModeTypeValues.Add(Orientation.Horizontal);
            this.orientationModeTypeValues.Add(Orientation.Vertical);
            this.OrientationMode = this.orientationModeTypeValues[0];

            this.labelFormatTypeValues.Add("{0:0}");
            this.labelFormatTypeValues.Add("{0:0.0}");
            this.labelFormatTypeValues.Add("{0:0.00}");
            this.LabelFormat   = this.labelFormatTypeValues[0];
            this.TooltipFormat = this.labelFormatTypeValues[0];

            this.smallChange   = 1;
            this.largeChange   = 5;
            this.tickFrequency = 20;
            this.trackTapMode  = RangeSliderTrackTapMode.IncrementByLargeChange;
            this.snapsTo       = Telerik.UI.Xaml.Controls.Primitives.SnapsTo.SmallChange;
        }
Пример #4
0
 internal override void OnSnapsToPropertyChanged(SnapsTo oldSnapsTo, SnapsTo newSnapsTo)
 {
     this.UpdateValues();
     this.InvalidateThumbsPanelArrange();
 }
Пример #5
0
 internal virtual void OnSnapsToPropertyChanged(SnapsTo oldSnapsTo, SnapsTo newSnapsTo)
 {
 }
        private void SnapsToTicksLayout()
        {
            //snapsToTicks
            TextView snapsToLabel = new TextView(context);

            snapsToLabel.LayoutParameters = new FrameLayout.LayoutParams((int)(totalWidth * 0.33), ViewGroup.LayoutParams.WrapContent, GravityFlags.Center);
            snapsToLabel.Text             = "Snaps To Tick";
            snapsToLabel.TextSize         = 15;

            //checkBox
            Switch checkBox2 = new Switch(context);

            checkBox2.Checked        = snaptsToPosition;
            checkBox2.CheckedChange += (object sender, CompoundButton.CheckedChangeEventArgs e) => {
                if (e.IsChecked)
                {
                    snapsto = SnapsTo.Ticks;
                }
                else
                {
                    snapsto = SnapsTo.None;
                }

                snaptsToPosition = e.IsChecked;
                ApplyChanges();
            };

            //spaceText
            TextView spaceText7 = new TextView(context);

            spaceText7.LayoutParameters = new FrameLayout.LayoutParams((int)(totalWidth * 0.167), ViewGroup.LayoutParams.WrapContent, GravityFlags.Center);

            //snapsToLabelLayout
            LinearLayout snapsToLabelLayout = new LinearLayout(context);

            snapsToLabelLayout.Orientation = Android.Widget.Orientation.Horizontal;
            snapsToLabelLayout.AddView(snapsToLabel);
            snapsToLabelLayout.AddView(checkBox2);
            snapsToLabelLayout.AddView(spaceText7);
            proprtyOptionsLayout.AddView(snapsToLabelLayout);

            //spaceText
            TextView spaceText5 = new TextView(context);

            spaceText5.LayoutParameters = new FrameLayout.LayoutParams(ViewGroup.LayoutParams.MatchParent, 40, GravityFlags.Center);
            //proprtyOptionsLayout.AddView(spaceText5);
            TextView spaceLabel = new TextView(context);

            spaceLabel.LayoutParameters = new FrameLayout.LayoutParams((int)(totalWidth * 0.167), ViewGroup.LayoutParams.WrapContent);

            //layout1
            LinearLayout layout1 = new LinearLayout(context);

            layout1.Orientation = Android.Widget.Orientation.Horizontal;
            layout1.AddView(spaceLabel);
            layout1.AddView(proprtyOptionsLayout);

            //propertylayout
            propertylayout.AddView(topProperty);
            propertylayout.AddView(layout1);
        }
Пример #7
0
        public override View GetPropertyWindowLayout(Android.Content.Context context)
        {
            int width = context.Resources.DisplayMetrics.WidthPixels / 2;


            propertylayout             = new LinearLayout(context);
            propertylayout.Orientation = droid.Vertical;

            LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(
                width * 2, 5);

            layoutParams.SetMargins(0, 5, 0, 0);

            TextView textView1 = new TextView(context);

            textView1.Text     = "  " + "TICK PLACEMENT";
            textView1.TextSize = 15;
            textView1.Typeface = Typeface.Create("Roboto", TypefaceStyle.Normal);
            textView1.SetTextColor(Color.White);
            textView1.Gravity = GravityFlags.Left;
            TextView textview2 = new TextView(context);

            textview2.SetHeight(14);
            propertylayout.AddView(textview2);
            tickSpinner = new Spinner(context);
            tickSpinner.SetPadding(0, 0, 0, 0);
            propertylayout.AddView(textView1);
            SeparatorView separate = new SeparatorView(context, width * 2);

            separate.LayoutParameters = new ViewGroup.LayoutParams(width * 2, 5);
            propertylayout.AddView(separate, layoutParams);
            TextView textview8 = new TextView(context);

            textview8.SetHeight(20);
            propertylayout.AddView(textview8);
            propertylayout.AddView(tickSpinner);
            TextView textview3 = new TextView(context);

            propertylayout.AddView(textview3);
            List <String> list = new List <String> ();

            list.Add("BottomRight");
            list.Add("TopLeft");
            list.Add("Outside");
            list.Add("Inline");
            list.Add("None");


            dataAdapter = new ArrayAdapter <String> (context, Android.Resource.Layout.SimpleSpinnerItem, list);
            dataAdapter.SetDropDownViewResource(Android.Resource.Layout.SimpleSpinnerDropDownItem);

            tickSpinner.Adapter = dataAdapter;

            tickSpinner.ItemSelected += (object sender, AdapterView.ItemSelectedEventArgs e) => {
                String selectedItem = dataAdapter.GetItem(e.Position);
                if (selectedItem.Equals("BottomRight"))
                {
                    tickplacement = TickPlacement.BottomRight;
                }
                else if (selectedItem.Equals("TopLeft"))
                {
                    tickplacement = TickPlacement.TopLeft;
                }
                else if (selectedItem.Equals("Inline"))
                {
                    tickplacement = TickPlacement.Inline;
                }
                else if (selectedItem.Equals("Outside"))
                {
                    tickplacement = TickPlacement.Outside;
                }
                else if (selectedItem.Equals("None"))
                {
                    tickplacement = TickPlacement.None;
                }
            };


            TextView textView3 = new TextView(context);

            textView3.Text     = "  " + "LABEL PLACEMENT";
            textView3.Typeface = Typeface.Create("Roboto", TypefaceStyle.Normal);
            textView3.Gravity  = GravityFlags.Left;
            textView3.TextSize = 15;
            textView3.SetTextColor(Color.White);
            List <String> labelList = new List <String> ();

            labelList.Add("BottomRight");
            labelList.Add("TopLeft");

            labelSpinner = new Spinner(context);

            labelSpinner.ItemSelected += (object sender, AdapterView.ItemSelectedEventArgs e) => {
                String selectedItem = dataAdapter.GetItem(e.Position);
                if (selectedItem.Equals("TopLeft"))
                {
                    valueplacement = ValuePlacement.TopLeft;
                }
                else if (selectedItem.Equals("BottomRight"))
                {
                    valueplacement = ValuePlacement.BottomRight;
                }
            };



            labelAdapter = new ArrayAdapter <String> (context, Android.Resource.Layout.SimpleSpinnerItem, labelList);
            labelAdapter.SetDropDownViewResource(Android.Resource.Layout.SimpleSpinnerDropDownItem);

            labelSpinner.Adapter = labelAdapter;
            labelSpinner.SetPadding(0, 0, 0, 0);

            LinearLayout.LayoutParams layoutParams2 = new LinearLayout.LayoutParams(width * 2, 7);

            layoutParams2.SetMargins(0, 5, 0, 0);
            propertylayout.AddView(textView3);

            SeparatorView separate2 = new SeparatorView(context, width * 2);

            separate2.LayoutParameters = new ViewGroup.LayoutParams(width * 2, 7);

            propertylayout.AddView(separate2, layoutParams2);
            TextView textview9 = new TextView(context);

            textview9.SetHeight(20);
            propertylayout.AddView(textview9);
            propertylayout.AddView(labelSpinner);
            propertylayout.SetPadding(15, 0, 15, 0);
            TextView textview7 = new TextView(context);

            textview7.SetHeight(20);
            propertylayout.AddView(textview7);

            TextView textView6 = new TextView(context);

            textView6.Text     = "  " + "Show Label";
            textView6.Typeface = Typeface.Create("Roboto", TypefaceStyle.Normal);
            textView6.Gravity  = GravityFlags.Center;
            textView6.TextSize = 16;

            Switch checkBox = new Switch(context);

            checkBox.Checked        = true;
            checkBox.CheckedChange += (object sender, CompoundButton.CheckedChangeEventArgs e) => {
                if (e.IsChecked)
                {
                    showlabel = true;
                }
                else
                {
                    showlabel = false;
                }
            };

            LinearLayout.LayoutParams layoutParams3 = new LinearLayout.LayoutParams(
                ViewGroup.LayoutParams.MatchParent, ViewGroup.LayoutParams.WrapContent);
            layoutParams3.SetMargins(0, 10, 0, 0);

            LinearLayout.LayoutParams layoutParams4 = new LinearLayout.LayoutParams(
                ViewGroup.LayoutParams.WrapContent, 55);
            layoutParams4.SetMargins(0, 10, 0, 0);

            stackView3 = new LinearLayout(context);
            stackView3.AddView(textView6, layoutParams4);



            stackView3.AddView(checkBox, layoutParams3);
            stackView3.Orientation = droid.Horizontal;
            propertylayout.AddView(stackView3);
            SeparatorView separate3 = new SeparatorView(context, width * 2);

            separate3.LayoutParameters = new ViewGroup.LayoutParams(width * 2, 5);
            LinearLayout.LayoutParams layoutParams7 = new LinearLayout.LayoutParams(
                width * 2, 5);

            layoutParams7.SetMargins(0, 30, 0, 0);
            propertylayout.AddView(separate3, layoutParams7);

            TextView textView7 = new TextView(context);

            textView7.Text     = "  " + "SnapsToTicks";
            textView7.Typeface = Typeface.Create("Roboto", TypefaceStyle.Normal);
            textView7.Gravity  = GravityFlags.Center;
            textView7.TextSize = 16;

            Switch checkBox2 = new Switch(context);

            checkBox2.Checked        = false;
            checkBox2.CheckedChange += (object sender, CompoundButton.CheckedChangeEventArgs e) => {
                if (e.IsChecked)
                {
                    snapsto = SnapsTo.Ticks;
                }
                else
                {
                    snapsto = SnapsTo.None;
                }
            };

            LinearLayout.LayoutParams layoutParams5 = new LinearLayout.LayoutParams(
                ViewGroup.LayoutParams.MatchParent, ViewGroup.LayoutParams.WrapContent);
            layoutParams5.SetMargins(0, 20, 0, 0);

            LinearLayout.LayoutParams layoutParams6 = new LinearLayout.LayoutParams(
                ViewGroup.LayoutParams.WrapContent, 55);
            layoutParams6.SetMargins(0, 20, 0, 0);

            stackView4 = new LinearLayout(context);
            stackView4.AddView(textView7, layoutParams6);



            stackView4.AddView(checkBox2, layoutParams5);
            stackView4.Orientation = droid.Horizontal;
            propertylayout.AddView(stackView4);
            SeparatorView separate4 = new SeparatorView(context, width * 2);

            separate4.LayoutParameters = new ViewGroup.LayoutParams(width * 2, 5);
            LinearLayout.LayoutParams layoutParams8 = new LinearLayout.LayoutParams(
                width * 2, 5);

            layoutParams8.SetMargins(0, 30, 0, 0);
            propertylayout.AddView(separate4, layoutParams8);
            return(propertylayout);
        }
		public override View GetPropertyWindowLayout (Android.Content.Context context)
		{
			int width = context.Resources.DisplayMetrics.WidthPixels / 2;


			propertylayout = new LinearLayout (context);
			propertylayout.Orientation = droid.Vertical;

			LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams (
				width * 2, 5);

			layoutParams.SetMargins (0, 5, 0, 0);

			TextView textView1 = new TextView (context);
			textView1.Text = "  " + "TICK PLACEMENT";
			textView1.TextSize = 15;
			textView1.Typeface = Typeface.Create("Roboto", TypefaceStyle.Normal);
			textView1.SetTextColor (Color.White);
			textView1.Gravity = GravityFlags.Left;
			TextView textview2 = new TextView (context);
			textview2.SetHeight (14);
			propertylayout.AddView (textview2);
			tickSpinner = new Spinner (context);
			tickSpinner.SetPadding (0, 0, 0, 0);
			propertylayout.AddView (textView1);			
			SeparatorView separate = new SeparatorView (context, width * 2);
			separate.LayoutParameters = new ViewGroup.LayoutParams (width * 2, 5);
			propertylayout.AddView (separate, layoutParams);
			TextView textview8 = new TextView (context);
			textview8.SetHeight (20);
			propertylayout.AddView (textview8);
			propertylayout.AddView (tickSpinner);
			TextView textview3 = new TextView (context);
			propertylayout.AddView (textview3);
			List<String> list = new List<String> ();

			list.Add ("BottomRight");
			list.Add ("TopLeft");
			list.Add ("Outside");
			list.Add ("Inline");
			list.Add ("None");


			dataAdapter = new ArrayAdapter<String> (context, Android.Resource.Layout.SimpleSpinnerItem, list);
			dataAdapter.SetDropDownViewResource (Android.Resource.Layout.SimpleSpinnerDropDownItem);

			tickSpinner.Adapter = dataAdapter;

			tickSpinner.ItemSelected += (object sender, AdapterView.ItemSelectedEventArgs e) => {
				String selectedItem = dataAdapter.GetItem (e.Position);
				if (selectedItem.Equals ("BottomRight")) {
					tickplacement = TickPlacement.BottomRight;

				} else if (selectedItem.Equals ("TopLeft")) {
					tickplacement = TickPlacement.TopLeft;

				} else if (selectedItem.Equals ("Inline")) {
					tickplacement = TickPlacement.Inline;

				} else if (selectedItem.Equals ("Outside")) {
					tickplacement = TickPlacement.Outside;

				} else if (selectedItem.Equals ("None")) {
					tickplacement = TickPlacement.None;

				}
			};


			TextView textView3 = new TextView (context);
			textView3.Text = "  " + "LABEL PLACEMENT";
			textView3.Typeface = Typeface.Create("Roboto", TypefaceStyle.Normal);
			textView3.Gravity = GravityFlags.Left;
			textView3.TextSize = 15;
			textView3.SetTextColor (Color.White);
			List<String> labelList = new List<String> ();
			labelList.Add ("BottomRight");
			labelList.Add ("TopLeft");

			labelSpinner = new Spinner (context);

			labelSpinner.ItemSelected += (object sender, AdapterView.ItemSelectedEventArgs e) => {
				String selectedItem = dataAdapter.GetItem (e.Position);
				if (selectedItem.Equals ("TopLeft")) {
					valueplacement = ValuePlacement.TopLeft;

				} else if (selectedItem.Equals ("BottomRight")) {
					valueplacement = ValuePlacement.BottomRight;


				}
			};



			labelAdapter = new ArrayAdapter<String> (context, Android.Resource.Layout.SimpleSpinnerItem, labelList);
			labelAdapter.SetDropDownViewResource (Android.Resource.Layout.SimpleSpinnerDropDownItem);

			labelSpinner.Adapter = labelAdapter;
			labelSpinner.SetPadding (0, 0, 0, 0);

			LinearLayout.LayoutParams layoutParams2 = new LinearLayout.LayoutParams (width * 2, 7);

			layoutParams2.SetMargins (0, 5, 0, 0);
			propertylayout.AddView (textView3);

			SeparatorView separate2 = new SeparatorView (context, width * 2);
			separate2.LayoutParameters = new ViewGroup.LayoutParams (width * 2, 7);

			propertylayout.AddView (separate2, layoutParams2);
			TextView textview9 = new TextView (context);
			textview9.SetHeight (20);
			propertylayout.AddView (textview9);
			propertylayout.AddView (labelSpinner);
			propertylayout.SetPadding (15, 0, 15, 0);
			TextView textview7 = new TextView (context);
			textview7.SetHeight (20);
			propertylayout.AddView (textview7);

			TextView textView6 = new TextView (context);
			textView6.Text = "  " + "Show Label";
			textView6.Typeface = Typeface.Create("Roboto", TypefaceStyle.Normal);
			textView6.Gravity = GravityFlags.Center;
			textView6.TextSize = 16;

			Switch checkBox = new Switch (context);
			checkBox.Checked = true;
			checkBox.CheckedChange += (object sender, CompoundButton.CheckedChangeEventArgs e) => {
				if (e.IsChecked)
					showlabel = true;
				else
					showlabel = false;
			};

			LinearLayout.LayoutParams layoutParams3 = new LinearLayout.LayoutParams (
				ViewGroup.LayoutParams.MatchParent, ViewGroup.LayoutParams.WrapContent);
			layoutParams3.SetMargins (0, 10, 0, 0);

			LinearLayout.LayoutParams layoutParams4 = new LinearLayout.LayoutParams (
				ViewGroup.LayoutParams.WrapContent, 55);
			layoutParams4.SetMargins (0, 10, 0, 0);

			stackView3 = new LinearLayout (context);
			stackView3.AddView (textView6, layoutParams4);



			stackView3.AddView (checkBox, layoutParams3);
			stackView3.Orientation = droid.Horizontal;
			propertylayout.AddView (stackView3);
			SeparatorView separate3 = new SeparatorView (context, width * 2);
			separate3.LayoutParameters = new ViewGroup.LayoutParams (width * 2, 5);
			LinearLayout.LayoutParams layoutParams7 = new LinearLayout.LayoutParams (
				width * 2, 5);

			layoutParams7.SetMargins (0, 30, 0, 0);
			propertylayout.AddView (separate3, layoutParams7);

			TextView textView7 = new TextView (context);
			textView7.Text = "  "+"SnapsToTicks";
			textView7.Typeface = Typeface.Create("Roboto", TypefaceStyle.Normal);
			textView7.Gravity = GravityFlags.Center;
			textView7.TextSize = 16;

			Switch checkBox2 = new Switch (context);
			checkBox2.Checked = false;
			checkBox2.CheckedChange += (object sender, CompoundButton.CheckedChangeEventArgs e) => {
				if (e.IsChecked)
					snapsto = SnapsTo.Ticks;
				else
					snapsto = SnapsTo.None;
			};

			LinearLayout.LayoutParams layoutParams5 = new LinearLayout.LayoutParams (
				ViewGroup.LayoutParams.MatchParent, ViewGroup.LayoutParams.WrapContent);
			layoutParams5.SetMargins (0, 20, 0, 0);

			LinearLayout.LayoutParams layoutParams6 = new LinearLayout.LayoutParams (
				ViewGroup.LayoutParams.WrapContent, 55);
			layoutParams6.SetMargins (0, 20, 0, 0);

			stackView4 = new LinearLayout (context);
			stackView4.AddView (textView7, layoutParams6);



			stackView4.AddView (checkBox2, layoutParams5);
			stackView4.Orientation = droid.Horizontal;
			propertylayout.AddView (stackView4);
			SeparatorView separate4 = new SeparatorView (context, width * 2);
			separate4.LayoutParameters = new ViewGroup.LayoutParams (width * 2, 5);
			LinearLayout.LayoutParams layoutParams8 = new LinearLayout.LayoutParams (
				width * 2, 5);

			layoutParams8.SetMargins (0, 30, 0, 0);
			propertylayout.AddView (separate4, layoutParams8);
			return propertylayout;
		}