public StreetEntry() { Binding = new BindingControler <StreetEntry>(this, new Expression <Func <StreetEntry, object> >[] { w => w.FiasGuid, w => w.StreetName, w => w.StreetDistrict, w => w.StreetTypeName, w => w.StreetTypeNameShort }); Completion = new EntryCompletion(); Completion.MinimumKeyLength = 0; Completion.MatchSelected += Completion_MatchSelected; Completion.MatchFunc = (completion, key, iter) => true; var cell = new CellRendererText(); Completion.PackStart(cell, true); Completion.SetCellDataFunc(cell, OnCellLayoutDataFunc); }
public HouseEntry() { Binding = new BindingControler <HouseEntry>(this, new Expression <Func <HouseEntry, object> >[] { w => w.FiasGuid, w => w.BuildingName }); Completion = new EntryCompletion(); Completion.MinimumKeyLength = 0; Completion.MatchSelected += Completion_MatchSelected; Completion.MatchFunc = Completion_MatchFunc; var cell = new CellRendererText(); Completion.PackStart(cell, true); Completion.SetCellDataFunc(cell, OnCellLayoutDataFunc); }
public CityEntry() { Binding = new BindingControler <CityEntry>(this, new Expression <Func <CityEntry, object> >[] { w => w.FiasGuid, w => w.CityTypeName, w => w.CityTypeNameShort, w => w.CityName }); Completion = new EntryCompletion(); Completion.MinimumKeyLength = 0; Completion.MatchSelected += Completion_MatchSelected; Completion.MatchFunc = (completion, key, iter) => true; var cell = new CellRendererText(); Completion.PackStart(cell, true); Completion.SetCellDataFunc(cell, OnCellLayoutDataFunc); FocusOutEvent += OnFocusOutEvent; }